diff options
author | acolyer <acolyer> | 2005-06-02 14:39:02 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-06-02 14:39:02 +0000 |
commit | f3aa086082b9ec08e414f67dfdc1efa6a85e0d18 (patch) | |
tree | bf20b0d017e1ace4a4bc859781cbcc46f66dbe44 /tests | |
parent | 27c6150906667e299a6952bc4dda642aad00578d (diff) | |
download | aspectj-f3aa086082b9ec08e414f67dfdc1efa6a85e0d18.tar.gz aspectj-f3aa086082b9ec08e414f67dfdc1efa6a85e0d18.zip |
fix some glitches in test cases to ensure that these are legal AspectJ declarations...
Diffstat (limited to 'tests')
-rw-r--r-- | tests/java5/generics/itds/Parse1.java | 2 | ||||
-rw-r--r-- | tests/java5/generics/itds/Parse2.java | 2 | ||||
-rw-r--r-- | tests/java5/generics/itds/Parse3.java | 4 | ||||
-rw-r--r-- | tests/java5/generics/itds/Parse4.java | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/java5/generics/itds/Parse1.java b/tests/java5/generics/itds/Parse1.java index 7168e15a9..b5a59c5f7 100644 --- a/tests/java5/generics/itds/Parse1.java +++ b/tests/java5/generics/itds/Parse1.java @@ -2,5 +2,5 @@ public class Parse1 { } aspect X { - <T> T Parse1.m(T) {} + <T> T Parse1.m(T timeFor) { return null;} } diff --git a/tests/java5/generics/itds/Parse2.java b/tests/java5/generics/itds/Parse2.java index 2764904cb..4bee305fd 100644 --- a/tests/java5/generics/itds/Parse2.java +++ b/tests/java5/generics/itds/Parse2.java @@ -2,5 +2,5 @@ public class Parse2 { } aspect X { - static <T> T Parse2.m(T) {} + static <T> T Parse2.m(T timeFor) { return null; } } diff --git a/tests/java5/generics/itds/Parse3.java b/tests/java5/generics/itds/Parse3.java index 2b9aab491..a6b7d1a1d 100644 --- a/tests/java5/generics/itds/Parse3.java +++ b/tests/java5/generics/itds/Parse3.java @@ -1,6 +1,6 @@ // Simple ITDC -public class Parse1 { } +public class Parse3 { } aspect X { - <T> T Parse1.new(T) {} + <T> Parse3.new(T cupOf) {} } diff --git a/tests/java5/generics/itds/Parse4.java b/tests/java5/generics/itds/Parse4.java index 685356e8a..1818929f1 100644 --- a/tests/java5/generics/itds/Parse4.java +++ b/tests/java5/generics/itds/Parse4.java @@ -1,8 +1,8 @@ import java.util.*; // Complex ITDM -public class Parse1 { } +public class Parse4 { } aspect X { - <T> Parse1.sort(List<T> elements,Comparator<? super T> comparator) {} + <T> void Parse4.sort(List<T> elements,Comparator<? super T> comparator) {} } |