summaryrefslogtreecommitdiff
path: root/st/MethodInstance.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-25 23:34:56 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-25 23:34:56 -0600
commit7e6c63a4d5a4acf9a4f993e6dff6ee7912f26c1e (patch)
treee8dfb25ebdde640815caa6920bfe894be63fd3ab /st/MethodInstance.java
parenta4090b25b5433ce007c91cabbd4c247f6a6c81f1 (diff)
Fix message send to handle class variables
Diffstat (limited to 'st/MethodInstance.java')
-rw-r--r--st/MethodInstance.java3
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() {