X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftypes%2Futil%2FSkeletonKeyMap.java;h=ecc9c026a2e0792ef632c29bf6ede17ecd381f72;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=9db48b225dc86d4cf3ff7be2d07c202baeee386e;hpb=3448b94a8e90047c88eb62a0542c1596acb701b8;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/util/SkeletonKeyMap.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/util/SkeletonKeyMap.java index 9db48b225..ecc9c026a 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/util/SkeletonKeyMap.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/util/SkeletonKeyMap.java @@ -1,18 +1,18 @@ -package org.simantics.scl.compiler.types.util; - -import org.simantics.scl.compiler.types.Skeletons; -import org.simantics.scl.compiler.types.Type; - -import gnu.trove.map.hash.THashMap; - -public class SkeletonKeyMap extends THashMap { - @Override - protected int hash(Object notnull) { - return ((Type)notnull).hashCode(); - } - - @Override - protected boolean equals(Object notnull, Object two) { - return Skeletons.equalSkeletons((Type)notnull, (Type)two); - } -} +package org.simantics.scl.compiler.types.util; + +import org.simantics.scl.compiler.types.Skeletons; +import org.simantics.scl.compiler.types.Type; + +import gnu.trove.map.hash.THashMap; + +public class SkeletonKeyMap extends THashMap { + @Override + protected int hash(Object notnull) { + return ((Type)notnull).hashCode(); + } + + @Override + protected boolean equals(Object notnull, Object two) { + return Skeletons.equalSkeletons((Type)notnull, (Type)two); + } +}