]> source.dussan.org Git - aspectj.git/commitdiff
fix for comment #1 in 113368
authoraclement <aclement>
Mon, 14 Nov 2005 16:29:44 +0000 (16:29 +0000)
committeraclement <aclement>
Mon, 14 Nov 2005 16:29:44 +0000 (16:29 +0000)
weaver/src/org/aspectj/weaver/patterns/IfPointcut.java

index 25fa8edcb79c827089182b6a5b5ee13af43ce370..eb92d66b044a29ecc4d425fbcaf39a7a4e908a0f 100644 (file)
@@ -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);
        }