Squash more sonar warnings
[bgpcep.git] / framework / src / main / java / org / opendaylight / protocol / framework / ProtocolMessageFactory.java
index 2b898d51f7b48e90a6f7c26442a70dc4109a7890..b24ab01774a5f0dc5c9d1df0f49df9b813cb3e27 100644 (file)
@@ -29,7 +29,7 @@ public interface ProtocolMessageFactory<T> {
         * @throws DeserializerException if some parsing error occurs
         * @throws DocumentedException if some documented error occurs
         */
-       public T parse(final byte[] bytes) throws DeserializerException, DocumentedException;
+       T parse(byte[] bytes) throws DeserializerException, DocumentedException;
 
        /**
         * Serializes protocol specific message to byte array.
@@ -37,5 +37,5 @@ public interface ProtocolMessageFactory<T> {
         * @param msg message to be serialized.
         * @return byte array resulting message
         */
-       public byte[] put(final T msg);
+       byte[] put(T msg);
 }