invalid string and boolean comparison
Change-Id: I50f93a9153215b14e6e5b7a3c3c2d3348aeecc70
diff --git a/apps/pce/pceweb/src/main/java/org/onosproject/pceweb/PceWebTopovOverlay.java b/apps/pce/pceweb/src/main/java/org/onosproject/pceweb/PceWebTopovOverlay.java
index ef1c40a..db0c37b 100644
--- a/apps/pce/pceweb/src/main/java/org/onosproject/pceweb/PceWebTopovOverlay.java
+++ b/apps/pce/pceweb/src/main/java/org/onosproject/pceweb/PceWebTopovOverlay.java
@@ -105,11 +105,11 @@
pp.addProp("LSR ID", lsrId);
}
- if (abrStatus.equals(true) && asbrStatus.equals(true)) {
+ if (Boolean.valueOf(abrStatus).equals(true) && Boolean.valueOf(asbrStatus).equals(true)) {
pp.addProp("Position", ABR_ASBR);
- } else if (abrStatus.equals(true)) {
+ } else if (Boolean.valueOf(abrStatus).equals(true)) {
pp.addProp("Position", ABR);
- } else if (asbrStatus.equals(true)) {
+ } else if (Boolean.valueOf(asbrStatus).equals(true)) {
pp.addProp("Position", ASBR);
} else {
pp.addProp("Position", INNER);