X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fruntime%2Feither%2FLeft.java;fp=bundles%2Forg.simantics.scl.runtime%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fruntime%2Feither%2FLeft.java;h=7bc37bb349fb15f571c8f7ebc74baedcdb21bf8d;hp=1e0c29b1fde0449879333936297817e247a4cb45;hb=b3dad17f21c1ec92aadb72dce69830cad25e9af6;hpb=1f2aad0097f93133625811b91c08d0f1b6d31c79 diff --git a/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/either/Left.java b/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/either/Left.java index 1e0c29b1f..7bc37bb34 100644 --- a/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/either/Left.java +++ b/bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/either/Left.java @@ -18,7 +18,7 @@ public class Left implements Either { return true; if(obj == null || obj.getClass() != getClass()) return false; - Right other = (Right)obj; + Left other = (Left)obj; return value == null ? other.value == null : value.equals(other.value); }