From 132f675da7177a41cf0ebfe2f87eee1d68c9e241 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 14 Nov 2005 16:29:44 +0000 Subject: fix for comment #1 in 113368 --- weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | 1 + 1 file changed, 1 insertion(+) (limited to 'weaver') 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); } -- cgit v1.2.3