From: yeom Date: Mon, 18 Apr 2011 22:24:08 +0000 (+0000) Subject: fix for ssJava: realized that annotation should not be a part of hash code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=96ebd0c6957f9130e3ff56768c631ac4b1bf89d3;p=IRC.git fix for ssJava: realized that annotation should not be a part of hash code. --- diff --git a/Robust/src/IR/TypeDescriptor.java b/Robust/src/IR/TypeDescriptor.java index edf28244..85534578 100644 --- a/Robust/src/IR/TypeDescriptor.java +++ b/Robust/src/IR/TypeDescriptor.java @@ -69,7 +69,6 @@ public class TypeDescriptor extends Descriptor { public int hashCode() { int hashcode=type^arraycount; - hashcode+=annotationSet.hashCode(); if (type==CLASS) hashcode^=getSymbol().hashCode(); return hashcode;