Fix most bgp-parser-spi checkstyle violations
[bgpcep.git] / bgp / parser-spi / src / test / java / org / opendaylight / protocol / bgp / parser / spi / extended / community / AbstractOpaqueExtendedCommunityTest.java
index c86c32e18454cedb70fef5e398fe0584f360e958..99df5bcdccb57b86c6ebb7c51c472d6a64670c45 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 AbstractOpaqueExtendedCommunityTest {
@@ -20,22 +17,22 @@ public class AbstractOpaqueExtendedCommunityTest {
     @Test
     public void testGetType() {
         final AbstractOpaqueExtendedCommunity abstractOpaqueExtendedCommunity = new AbstractOpaqueExtendedCommunity() {
-
             @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(3, abstractOpaqueExtendedCommunity.getType(true));
         Assert.assertEquals(67, abstractOpaqueExtendedCommunity.getType(false));
     }
-
 }