aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2022-04-18 12:51:42 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2022-04-18 12:51:42 +0700
commitee9d532b1ad6bad267ce2d796f3979074e6122cd (patch)
tree9e75d82d442121220b93eb1de4288f35eafb79c2 /tests
parent816f585d541f51ab106d67a617cbb01f52169fb0 (diff)
downloadaspectj-ee9d532b1ad6bad267ce2d796f3979074e6122cd.tar.gz
aspectj-ee9d532b1ad6bad267ce2d796f3979074e6122cd.zip
Make IStateListener.aboutToCompareClasspaths use typed lists
Before, the signature was: void aboutToCompareClasspaths( List oldClasspath, List newClasspath); Now it is: void aboutToCompareClasspaths( List<String> oldClasspath, List<String> newClasspath); AJDT will also use the typed version after generics refactoring. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/incremental/IncrementalTests.java3
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/incremental/IncrementalTests.java b/tests/src/test/java/org/aspectj/systemtest/incremental/IncrementalTests.java
index 4ce172479..83a37d498 100644
--- a/tests/src/test/java/org/aspectj/systemtest/incremental/IncrementalTests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/incremental/IncrementalTests.java
@@ -124,7 +124,7 @@ public class IncrementalTests extends org.aspectj.testing.XMLBasedAjcTestCase {
class MyStateListener extends AbstractStateListener {
public boolean pathChange = false;
public void pathChangeDetected() {pathChange = true;}
- public void aboutToCompareClasspaths(List oldClasspath, List newClasspath) {}
+ public void aboutToCompareClasspaths(List<String> oldClasspath, List<String> newClasspath) {}
public void detectedClassChangeInThisDir(File f) {}
public void buildSuccessful(boolean wasFullBuild) {}
};
@@ -302,4 +302,3 @@ public class IncrementalTests extends org.aspectj.testing.XMLBasedAjcTestCase {
after.getStdOut().startsWith("Fred and Harry"));
}
}
-
diff --git a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
index 8fc389e5b..1daf26642 100644
--- a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
+++ b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
@@ -527,7 +527,7 @@ public class AjdeInteractionTestbed extends TestCase {
pathChange = true;
}
- public void aboutToCompareClasspaths(List oldClasspath, List newClasspath) {
+ public void aboutToCompareClasspaths(List<String> oldClasspath, List<String> newClasspath) {
}
public void detectedClassChangeInThisDir(File f) {