commit | 645cd32f6b47d2a81ec0992f1975c747c267beba | [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 | fc3532e8a42dc2d5cf20ec2b5d0b2aa7d22bbbe7 | |
parent | f909e5b889d7e21e4607c6f0a464c64d9c509642 [diff] |
Address Sonar warning Change-Id: Ie665024ddc3cd9989a348d3e33e66db6b215f19b
diff --git a/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java b/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java index 0626bc8..e70ec04 100644 --- a/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DestinationSet.java +++ b/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";