Fix most bgp-parser-impl checkstyle
[bgpcep.git] / bgp / parser-impl / src / test / java / org / opendaylight / protocol / bgp / parser / impl / message / update / extended / communities / OpaqueEcHandlerTest.java
index ae99f5a197a135d5c57147334ee1f5da90eb0ed1..c1ef261dd9e7fedfcb4f0d55de49ef383b9e5f3a 100644 (file)
@@ -5,7 +5,6 @@
  * 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.impl.message.update.extended.communities;
 
 import io.netty.buffer.ByteBuf;
@@ -20,7 +19,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.type
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.extended.community.extended.community.opaque.extended.community._case.OpaqueExtendedCommunityBuilder;
 
 public class OpaqueEcHandlerTest {
-
     private static final byte[] INPUT = {
         21, 45, 5, 4, 3, 1
     };
@@ -28,8 +26,9 @@ public class OpaqueEcHandlerTest {
     @Test
     public void testHandler() throws BGPDocumentedException, BGPParsingException {
         final OpaqueEcHandler handler = new OpaqueEcHandler();
-        final OpaqueExtendedCommunityCase expected = new OpaqueExtendedCommunityCaseBuilder().setOpaqueExtendedCommunity(
-                new OpaqueExtendedCommunityBuilder().setValue(new byte[] { 21, 45, 5, 4, 3, 1 }).build()).build();
+        final OpaqueExtendedCommunityCase expected = new OpaqueExtendedCommunityCaseBuilder()
+                .setOpaqueExtendedCommunity(new OpaqueExtendedCommunityBuilder()
+                    .setValue(new byte[] { 21, 45, 5, 4, 3, 1 }).build()).build();
 
         final ExtendedCommunity exComm = handler.parseExtendedCommunity(Unpooled.copiedBuffer(INPUT));
         Assert.assertEquals(expected, exComm);
@@ -38,5 +37,4 @@ public class OpaqueEcHandlerTest {
         handler.serializeExtendedCommunity(expected, output);
         Assert.assertArrayEquals(INPUT, output.array());
     }
-
 }