commit | b1e95fd5bdce09589a78ac79278094bec35e1e04 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Mon Mar 05 20:44:13 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Tue Mar 06 15:08:03 2018 +0000 |
tree | 98529935d58b1713461180e03c5abd740f1104cb | |
parent | d821c7512b16f76e475a82c3fdc8ee6424af2fc8 [diff] |
Address Sonar warning Change-Id: Ie665024ddc3cd9989a348d3e33e66db6b215f19b
diff --git a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java index c7547d4..a9d9e9a 100644 --- a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java +++ b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java
@@ -211,9 +211,9 @@ String type; if (!notBos && !swap) { type = "default"; - } else if (!notBos && swap) { + } else if (!notBos) { type = "swapbos"; - } else if (notBos && !swap) { + } else if (!swap) { type = "not-bos"; } else { type = "swap-nb";