Fix most bgp-parser-spi checkstyle violations
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / protocol / bgp / parser / spi / MessageRegistry.java
index 6db2b4fd891811b5a85cede06d9c70c125ac05eb..6b565acbabdc34711ec64cbb9dba128297a624cd 100644 (file)
@@ -15,8 +15,7 @@ import org.opendaylight.protocol.bgp.parser.BGPParsingException;
 import org.opendaylight.yangtools.yang.binding.Notification;
 
 /**
- * BGP Message codec registry, provides services
- * to encode/decode messages.
+ * BGP Message codec registry, provides services to encode/decode messages.
  */
 public interface MessageRegistry {
     /**
@@ -24,8 +23,6 @@ public interface MessageRegistry {
      * @param bytes Input buffer with encoded message.
      * @param constraint Peer specific constraint.
      * @return Parsed BGP message.
-     * @throws BGPDocumentedException
-     * @throws BGPParsingException
      */
     @Nonnull Notification parseMessage(@Nonnull ByteBuf bytes, @Nullable PeerSpecificParserConstraint constraint)
             throws BGPDocumentedException, BGPParsingException;
@@ -36,5 +33,4 @@ public interface MessageRegistry {
      * @param buffer Output buffer where message is to be written.
      */
     void serializeMessage(@Nonnull Notification message, @Nonnull ByteBuf buffer);
-
 }