commit | 2b299d223252e0b48bac03630354d00ba9986b59 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Apr 11 14:19:06 2019 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Thu Apr 11 14:19:06 2019 -0700 |
tree | 955b3a4e7e985266d632272faba824c6c446bd69 | |
parent | 4c2715efb379d333ad1ad875d72fd666669cb501 [diff] |
Fix incorect string comparison Change-Id: Idf7f90e37d1cf17af3552ebe23c05ddde64960b1
diff --git a/web/gui/src/main/java/org/onosproject/ui/impl/topo/UiTopoSession.java b/web/gui/src/main/java/org/onosproject/ui/impl/topo/UiTopoSession.java index 363c4b5..4d79692 100644 --- a/web/gui/src/main/java/org/onosproject/ui/impl/topo/UiTopoSession.java +++ b/web/gui/src/main/java/org/onosproject/ui/impl/topo/UiTopoSession.java
@@ -144,7 +144,7 @@ // To ensure link can be created devices have to be added to the list as // they are created if (event.type() == UiModelEvent.Type.DEVICE_ADDED_OR_UPDATED && - event.memo() == "added") { + event.memo().equals("added")) { UiRegion uiRegion = sharedModel.getRegion(currentLayout.regionId()); uiRegion.newDeviceAdded(DeviceId.deviceId(event.subject().idAsString())); } else if (event.type() == UiModelEvent.Type.DEVICE_REMOVED) {