From f3aa086082b9ec08e414f67dfdc1efa6a85e0d18 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 2 Jun 2005 14:39:02 +0000 Subject: fix some glitches in test cases to ensure that these are legal AspectJ declarations... --- tests/java5/generics/itds/Parse1.java | 2 +- tests/java5/generics/itds/Parse2.java | 2 +- tests/java5/generics/itds/Parse3.java | 4 ++-- 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 Parse1.m(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 Parse2.m(T) {} + static 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 Parse1.new(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 { - Parse1.sort(List elements,Comparator comparator) {} + void Parse4.sort(List elements,Comparator comparator) {} } -- cgit v1.2.3