diff options
Diffstat (limited to 'st/MethodInstance.java')
-rw-r--r-- | st/MethodInstance.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/st/MethodInstance.java b/st/MethodInstance.java index 9f1e6df..7ed0674 100644 --- a/st/MethodInstance.java +++ b/st/MethodInstance.java @@ -19,8 +19,7 @@ public class MethodInstance extends AbstractInstance { public boolean equals(Object other) { MethodInstance o; return (other instanceof MethodInstance && - ((o = (MethodInstance) other).getName() == this.getName() && - o.getParentClass() == this.getParentClass())); + ((o = (MethodInstance) other).getName() == this.getName())); } public ArrayList<TypeInstance> getArguments() { |