Add missing break in switch case to resolve an issue found by SonarQube
Change-Id: Ie3e68c0ea317c096a302f576ba9330838a74516e
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -445,6 +445,7 @@ public class FlowEntryBuilder { | ... | @@ -445,6 +445,7 @@ public class FlowEntryBuilder { |
445 | } | 445 | } |
446 | } | 446 | } |
447 | 447 | ||
448 | + // CHECKSTYLE IGNORE MethodLength FOR NEXT 1 LINES | ||
448 | private TrafficSelector buildSelector() { | 449 | private TrafficSelector buildSelector() { |
449 | MacAddress mac; | 450 | MacAddress mac; |
450 | Ip4Prefix ip4Prefix; | 451 | Ip4Prefix ip4Prefix; |
... | @@ -551,6 +552,7 @@ public class FlowEntryBuilder { | ... | @@ -551,6 +552,7 @@ public class FlowEntryBuilder { |
551 | break; | 552 | break; |
552 | case UDP_DST: | 553 | case UDP_DST: |
553 | builder.matchUdpDst((short) match.get(MatchField.UDP_DST).getPort()); | 554 | builder.matchUdpDst((short) match.get(MatchField.UDP_DST).getPort()); |
555 | + break; | ||
554 | case MPLS_LABEL: | 556 | case MPLS_LABEL: |
555 | builder.matchMplsLabel(MplsLabel.mplsLabel((int) match.get(MatchField.MPLS_LABEL) | 557 | builder.matchMplsLabel(MplsLabel.mplsLabel((int) match.get(MatchField.MPLS_LABEL) |
556 | .getValue())); | 558 | .getValue())); | ... | ... |
-
Please register or login to post a comment