From 4880b54e69fcd225590fce7079a84d2b17a6ee62 Mon Sep 17 00:00:00 2001 From: wisberg Date: Tue, 2 Dec 2003 18:47:01 +0000 Subject: [PATCH] no semantic change - avoiding warning about static members accessed via non-static references --- .../src/org/aspectj/testing/harness/bridge/CompilerRun.java | 4 ++-- .../org/aspectj/testing/taskdefs/AjcTaskCompileCommand.java | 2 +- .../aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java | 2 +- 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 } -- 2.39.5