removed equals method, since no longer necessary

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@720 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 59d1cb7a24
commit 51d6e190ca
  1. 11
      jode/jode/bytecode/Reference.java

@ -99,17 +99,6 @@ public class Reference {
return className + " " + memberName + " " + memberType; return className + " " + memberName + " " + memberType;
} }
public boolean equals(Object o) {
if (o instanceof Reference) {
Reference other = (Reference) o;
return other.cachedHashCode == cachedHashCode
&& other.className.equals(className)
&& other.memberName.equals(memberName)
&& other.memberType.equals(memberType);
}
return false;
}
public int hashCode() { public int hashCode() {
return cachedHashCode; return cachedHashCode;
} }

Loading…
Cancel
Save