X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scenegraph.profile%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fprofile%2Fcommon%2FObserverGroupListener.java;fp=bundles%2Forg.simantics.scenegraph.profile%2Fsrc%2Forg%2Fsimantics%2Fscenegraph%2Fprofile%2Fcommon%2FObserverGroupListener.java;h=31295b9b692f60178c422ad7dda719089d87b76c;hp=497b401a2a1d502ce00e352fe1301cef66c244ae;hb=6f74a06c056faf075a4e3afd5bcd8176bf1160a8;hpb=3a25ce941361ea625bc07a427b0574fe5cb17180 diff --git a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ObserverGroupListener.java b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ObserverGroupListener.java index 497b401a2..31295b9b6 100644 --- a/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ObserverGroupListener.java +++ b/bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/common/ObserverGroupListener.java @@ -66,7 +66,7 @@ public class ObserverGroupListener implements SetListener { return true; else if (object == null) return false; - else if (ObserverGroupListener.class != object.getClass()) + else if (getClass() != object.getClass()) return false; ObserverGroupListener other = (ObserverGroupListener)object; return observer.equals(other.observer) && group.equals(other.group) && style.equals(other.style);