From: aclement Date: Mon, 14 Nov 2005 16:29:44 +0000 (+0000) Subject: fix for comment #1 in 113368 X-Git-Tag: V1_5_0RC1~191 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=132f675da7177a41cf0ebfe2f87eee1d68c9e241;p=aspectj.git fix for comment #1 in 113368 --- 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); }