Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Bug fix for ObjectValueImpl equality test

Rich Turnerc21d2fadba0e
diff --git a/model/src/main/java/org/openremote/model/value/impl/ObjectValueImpl.java b/model/src/main/java/org/openremote/model/value/impl/ObjectValueImpl.java
index c727d7d72..9693292ac 100644
--- a/model/src/main/java/org/openremote/model/value/impl/ObjectValueImpl.java
+++ b/model/src/main/java/org/openremote/model/value/impl/ObjectValueImpl.java
@@ -208,7 +208,7 @@ public class ObjectValueImpl extends ValueImpl implements ObjectValue {
Set<String> thisKeys = this.map.keySet().stream()
.filter(key -> ignoreKeyPredicate == null || !ignoreKeyPredicate.test(key))
.collect(Collectors.toSet());
- Set<String> thatKeys = this.map.keySet().stream()
+ Set<String> thatKeys = thatImpl.map.keySet().stream()
.filter(key -> ignoreKeyPredicate == null || !ignoreKeyPredicate.test(key))
.collect(Collectors.toSet());