commit | 2ea68ff47f046293683b862c3f15649a39fce191 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Mon Mar 05 20:44:13 2018 -0800 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Mar 06 17:21:30 2018 +0000 |
tree | 061e6b284f701bf53a466d6459c295c4964b7ec2 | |
parent | 27cff8c80525650944fc46e77c9520e43c130e87 [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 0626bc8..e70ec04 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";