aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-12-02 18:47:01 +0000
committerwisberg <wisberg>2003-12-02 18:47:01 +0000
commit4880b54e69fcd225590fce7079a84d2b17a6ee62 (patch)
tree608d6e302f842c82f9a4f92904707bed72952730 /testing
parent9d33c1e59f81762293e3014012183a59fe479775 (diff)
downloadaspectj-4880b54e69fcd225590fce7079a84d2b17a6ee62.tar.gz
aspectj-4880b54e69fcd225590fce7079a84d2b17a6ee62.zip
no semantic change - avoiding warning about static members accessed via non-static references
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java4
-rw-r--r--testing/src/org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java2
-rw-r--r--testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java b/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
index d6fba5bb0..224ade658 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
@@ -1073,8 +1073,8 @@ public class CompilerRun implements IAjcRun {
if (!permitAnyCompiler
&& (!(ReflectionFactory.ECLIPSE.equals(compilerName)
|| ReflectionFactory.OLD_AJC.equals(compilerName)
- || CRSOPTIONS.AJDE_COMPILER.equals(compilerName)
- || CRSOPTIONS.AJCTASK_COMPILER.equals(compilerName)
+ || CRSOptions.AJDE_COMPILER.equals(compilerName)
+ || CRSOptions.AJCTASK_COMPILER.equals(compilerName)
|| permitAnyCompiler
))) {
//|| BUILDER_COMPILER.equals(compilerName))
diff --git a/testing/src/org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java b/testing/src/org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java
index 6a10c07c5..9a8e9ab60 100644
--- a/testing/src/org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java
+++ b/testing/src/org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java
@@ -92,7 +92,7 @@ public class AjcTaskCompileCommand implements ICommand {
long nextCheck = curTime + checkInterval;
while (nextCheck > curTime) {
try {
- thread.sleep(nextCheck - curTime);
+ Thread.sleep(nextCheck - curTime);
} catch (InterruptedException e) {
// ignore
}
diff --git a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
index eb858da48..9f5d93bd2 100644
--- a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
+++ b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
@@ -239,7 +239,7 @@ class MessageAdder implements Runnable {
while (!stop && (curTime < timeout)
&& (curTime < targetTime)) {
try {
- thread.sleep(targetTime - curTime);
+ Thread.sleep(targetTime - curTime);
} catch (InterruptedException e) {
// ignore
}