Fix checkstyle violations 47/84247/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 6 Sep 2019 08:35:46 +0000 (10:35 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 6 Sep 2019 08:36:09 +0000 (10:36 +0200)
Upgraded checkstyle is finding a few of these, fix them up.

Change-Id: If3f796fe7b6ca3ba292725ddde81fb1d73849050
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/handlers/BitmaskOperandParser.java
bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv4/FlowspecIpv4NlriParserHelper.java
bgp/extensions/flowspec/src/main/java/org/opendaylight/protocol/bgp/flowspec/ipv6/FlowspecIpv6NlriParserHelper.java

index aa33eab32e5278c650bbc8860864d5171ce3afcc..752bb910c9a6b777858a9c3daa9f063cdd4abcd3 100644 (file)
@@ -32,7 +32,9 @@ public final class BitmaskOperandParser extends AbstractOperandParser<BitmaskOpe
     private static final int NOT = 6;
     private static final int MATCH = 7;
 
-    private BitmaskOperandParser() { }
+    private BitmaskOperandParser() {
+
+    }
 
     @Override
     public BitmaskOperand create(final Set<String> opValues) {
index 7ea88523044a786229b2bfafa85b597d7887edd5..99607aa9b9ce2c0d685db19889d0357b59183287 100644 (file)
@@ -37,10 +37,11 @@ import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListNode;
  * @author Kevin Wang
  */
 public final class FlowspecIpv4NlriParserHelper {
-
     private static final NodeIdentifier PROTOCOL_IP_NID = new NodeIdentifier(ProtocolIps.QNAME);
 
-    private FlowspecIpv4NlriParserHelper() {}
+    private FlowspecIpv4NlriParserHelper() {
+
+    }
 
     public static void extractFlowspec(final ChoiceNode fsType, final FlowspecBuilder fsBuilder) {
         if (fsType.getChild(AbstractFlowspecNlriParser.DEST_PREFIX_NID).isPresent()) {
index 3640976a843dc50bfd172c3d8da2822693c62260..bb47abc6315dba7648012ad168c4fc97f4cf42e4 100644 (file)
@@ -36,11 +36,12 @@ import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListEntryNode;
 import org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListNode;
 
 public final class FlowspecIpv6NlriParserHelper {
-
     private static final NodeIdentifier NEXT_HEADER_NID = new NodeIdentifier(NextHeaders.QNAME);
     private static final NodeIdentifier FLOW_LABEL_NID = new NodeIdentifier(FlowLabel.QNAME);
 
-    private FlowspecIpv6NlriParserHelper() {}
+    private FlowspecIpv6NlriParserHelper() {
+
+    }
 
     public static void extractFlowspec(final ChoiceNode fsType, final FlowspecBuilder fsBuilder) {
         if (fsType.getChild(AbstractFlowspecNlriParser.DEST_PREFIX_NID).isPresent()) {