summaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-19 22:12:38 +0000
committerjhugunin <jhugunin>2002-12-19 22:12:38 +0000
commit102a6af2f228e7bbcf03864f1c95339c533fb54e (patch)
tree8a9b1a07ad54bb23e4ce20af727a492a6e43e460 /tests/new
parentc46adac65118dff18af875b3d760aced6b42f615 (diff)
downloadaspectj-102a6af2f228e7bbcf03864f1c95339c533fb54e.tar.gz
aspectj-102a6af2f228e7bbcf03864f1c95339c533fb54e.zip
removed old 1.0 warnings
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/PR573.java2
-rw-r--r--tests/new/PR573_1.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/PR573.java b/tests/new/PR573.java
index 22efc6de7..20dfb1ae4 100644
--- a/tests/new/PR573.java
+++ b/tests/new/PR573.java
@@ -18,7 +18,7 @@ public class PR573 {
}
interface Interface { void m(Object o);}
-aspect A pertarget(target(Interface)) { // CW 21 will not match containing aspect
+aspect A pertarget(target(Interface)) { // was a warning in 1.0
public static int num;
A(){ Tester.event("A.init" + num++); }
}
diff --git a/tests/new/PR573_1.java b/tests/new/PR573_1.java
index d9b8bf3dc..e040c068e 100644
--- a/tests/new/PR573_1.java
+++ b/tests/new/PR573_1.java
@@ -17,7 +17,7 @@ public class PR573_1 {
}
}
// different stack overflow when using Object, not Interface
-aspect A pertarget(target(Object) && !target(A)) { // CW 20 will not match containing aspect
+aspect A pertarget(target(Object) && !target(A)) { // was a warning in 1.0
public static int num;
A(){ Tester.event("A.init" + num++); }
}