summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-04-24 10:18:27 +0000
committeraclement <aclement>2006-04-24 10:18:27 +0000
commit77d9906679b671488272fe62c8409bcc32bbb99c (patch)
treeb099b1333d2726e688bf5d04ec17687669f46ef8 /weaver
parent0fcaf00109da3273daca689ca93e30c3c6809c1c (diff)
downloadaspectj-77d9906679b671488272fe62c8409bcc32bbb99c.tar.gz
aspectj-77d9906679b671488272fe62c8409bcc32bbb99c.zip
fix for 138158
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java b/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
index bb0b3bb65..f4bf40132 100644
--- a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
@@ -154,11 +154,8 @@ public class WithinCodeAnnotationPointcut extends NameBindingPointcut {
state.set(btp.getFormalIndex(),var);
}
- return Literal.TRUE;
-// if (matchInternal(shadow).alwaysTrue())
-// return Literal.TRUE;
-// else
-// return Literal.FALSE;
+ if (matchInternal(shadow).alwaysTrue()) return Literal.TRUE;
+ else return Literal.FALSE;
}