]> source.dussan.org Git - aspectj.git/commitdiff
fix some glitches in test cases to ensure that these are legal AspectJ declarations...
authoracolyer <acolyer>
Thu, 2 Jun 2005 14:39:02 +0000 (14:39 +0000)
committeracolyer <acolyer>
Thu, 2 Jun 2005 14:39:02 +0000 (14:39 +0000)
tests/java5/generics/itds/Parse1.java
tests/java5/generics/itds/Parse2.java
tests/java5/generics/itds/Parse3.java
tests/java5/generics/itds/Parse4.java

index 7168e15a9c1ec18b36c44b83d0f0aab308fd1a7d..b5a59c5f77bc525dc92d1417301278a23cb21762 100644 (file)
@@ -2,5 +2,5 @@
 public class Parse1 { }
 
 aspect X {
-  <T> T Parse1.m(T) {
+  <T> T Parse1.m(T timeFor) { return null;
 }
index 2764904cb33f2a820f3bcd3bee042356b7e3bc3e..4bee305fdc9fbb0bae92ef71977c329648acfa5f 100644 (file)
@@ -2,5 +2,5 @@
 public class Parse2 { }
 
 aspect X {
-  static <T> T Parse2.m(T) {
+  static <T> T Parse2.m(T timeFor) { return null; 
 }
index 2b9aab491903674f7f79fe8bb6312179234550a8..a6b7d1a1d5e272a24fabe4db70c2a73ae731aa13 100644 (file)
@@ -1,6 +1,6 @@
 // Simple ITDC
-public class Parse1 { }
+public class Parse3 { }
 
 aspect X {
-  <T> T Parse1.new(T) {} 
+  <T> Parse3.new(T cupOf) {} 
 }
index 685356e8a2ae3a06a4297cb3f6ec5f833d931db6..1818929f10b6ba4c3ec9a4b0fadf551066028e25 100644 (file)
@@ -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) {}
 }