Fix most bgp-parser-spi checkstyle violations
[bgpcep.git] / bgp / parser-spi / src / test / java / org / opendaylight / protocol / bgp / parser / spi / extended / community / AbstractIpv4ExtendedCommunityTest.java
index 43ce1efee44e140241d5eefca1d856ec6b4a01dc..f760629cd6db43f8f22937c3cbab9be25fea8080 100644 (file)
@@ -5,14 +5,11 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.protocol.bgp.parser.spi.extended.community;
 
 import io.netty.buffer.ByteBuf;
 import org.junit.Assert;
 import org.junit.Test;
-import org.opendaylight.protocol.bgp.parser.BGPDocumentedException;
-import org.opendaylight.protocol.bgp.parser.BGPParsingException;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.extended.community.ExtendedCommunity;
 
 public class AbstractIpv4ExtendedCommunityTest {
@@ -21,19 +18,21 @@ public class AbstractIpv4ExtendedCommunityTest {
     public void testGetType() {
         final AbstractIpv4ExtendedCommunity abstractIpv4ExtendedCommunity = new AbstractIpv4ExtendedCommunity() {
             @Override
-            public void serializeExtendedCommunity(final ExtendedCommunity extendedCommunity, final ByteBuf byteAggregator) {
+            public void serializeExtendedCommunity(final ExtendedCommunity extendedCommunity,
+                    final ByteBuf byteAggregator) {
             }
+
             @Override
             public int getSubType() {
                 return 0;
             }
+
             @Override
-            public ExtendedCommunity parseExtendedCommunity(final ByteBuf buffer) throws BGPDocumentedException, BGPParsingException {
+            public ExtendedCommunity parseExtendedCommunity(final ByteBuf buffer) {
                 return null;
             }
         };
         Assert.assertEquals(1, abstractIpv4ExtendedCommunity.getType(true));
         Assert.assertEquals(65, abstractIpv4ExtendedCommunity.getType(false));
     }
-
 }