diff options
author | aclement <aclement> | 2005-11-14 16:29:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-11-14 16:29:44 +0000 |
commit | 132f675da7177a41cf0ebfe2f87eee1d68c9e241 (patch) | |
tree | e9ae99a0b90c483a3f496b1a854f923559ba7c70 | |
parent | ccd571e8b952c0b67d15f1d30d5a19f91b7e97ef (diff) | |
download | aspectj-132f675da7177a41cf0ebfe2f87eee1d68c9e241.tar.gz aspectj-132f675da7177a41cf0ebfe2f87eee1d68c9e241.zip |
fix for comment #1 in 113368
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java b/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java index 25fa8edcb..eb92d66b0 100644 --- a/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java @@ -124,6 +124,7 @@ public class IfPointcut extends Pointcut { public boolean equals(Object other) { if (!(other instanceof IfPointcut)) return false; IfPointcut o = (IfPointcut)other; + if (o.testMethod==null) return (this.testMethod==null); return o.testMethod.equals(this.testMethod); } |