Fix most bgp-parser-impl checkstyle
[bgpcep.git] / bgp / parser-impl / src / test / java / org / opendaylight / protocol / bgp / parser / impl / message / update / extended / communities / EncapsulationECTest.java
index f29c6d9606b25ee3207fa3cf310d9598c87ca3de..22e44ede89ed9c5dde1546ec649b25e34dfa822e 100755 (executable)
@@ -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 static org.junit.Assert.assertArrayEquals;
@@ -40,9 +39,8 @@ public class EncapsulationECTest {
     public void testParser() throws BGPParsingException, BGPDocumentedException {
         final ByteBuf buffer = Unpooled.buffer(COMMUNITY_VALUE_SIZE);
 
-        final EncapsulationCase expected = new EncapsulationCaseBuilder().setEncapsulationExtendedCommunity(new EncapsulationExtendedCommunityBuilder()
-            .setTunnelType(TUNNEL_TYPE)
-            .build()).build();
+        final EncapsulationCase expected = new EncapsulationCaseBuilder().setEncapsulationExtendedCommunity(
+            new EncapsulationExtendedCommunityBuilder().setTunnelType(TUNNEL_TYPE).build()).build();
         this.parser.serializeExtendedCommunity(expected, buffer);
         assertArrayEquals(RESULT, ByteArray.getAllBytes(buffer));