From: wisberg Date: Thu, 13 Feb 2003 05:51:35 +0000 (+0000) Subject: resolving unused-imports warnings X-Git-Tag: V_1_1_b5~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b3d8dec76418f78141e33b7f444a39a9273111e;p=aspectj.git resolving unused-imports warnings --- diff --git a/org.aspectj.ajdt.core/testsrc/AroundAMain.java b/org.aspectj.ajdt.core/testsrc/AroundAMain.java index 1c1da8648..2f101dd74 100644 --- a/org.aspectj.ajdt.core/testsrc/AroundAMain.java +++ b/org.aspectj.ajdt.core/testsrc/AroundAMain.java @@ -10,8 +10,6 @@ * PARC initial implementation * ******************************************************************/ -import java.util.Arrays; - import junit.framework.TestCase; import org.aspectj.runtime.internal.AroundClosure; diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/ConsoleMessageHandlerTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/ConsoleMessageHandlerTestCase.java index fdb95a586..eddfbb664 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/ConsoleMessageHandlerTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/ConsoleMessageHandlerTestCase.java @@ -12,12 +12,7 @@ package org.aspectj.ajdt.ajc; -import java.io.PrintWriter; - import junit.framework.TestCase; -import org.aspectj.bridge.*; -import org.aspectj.bridge.Message; -import org.aspectj.util.StreamPrintWriter; /** * @author Mik Kersten diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BasicCommandTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BasicCommandTestCase.java index 22e8a6412..107921ca0 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BasicCommandTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BasicCommandTestCase.java @@ -12,12 +12,8 @@ package org.aspectj.ajdt.internal.compiler.batch; -import java.util.*; - -import org.aspectj.ajdt.ajc.*; -import org.aspectj.bridge.*; - -import junit.framework.*; +import java.util.ArrayList; +import java.util.List; /** * @author hugunin diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java index 241af66b3..394d7df74 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java @@ -16,24 +16,17 @@ import org.aspectj.ajdt.ajc.AjdtCommand; import org.aspectj.bridge.ICommand; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; +import org.aspectj.bridge.IMessageHolder; import org.aspectj.bridge.MessageHandler; +import org.aspectj.weaver.bcel.LazyClassGen; -import java.io.*; -import java.io.File; import java.io.IOException; -import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; -import org.aspectj.ajdt.ajc.*; -import org.aspectj.weaver.*; -import org.aspectj.weaver.bcel.LazyClassGen; -import org.aspectj.bridge.*; - -import junit.framework.*; -import org.aspectj.weaver.*; +import junit.framework.TestCase; public abstract class CommandTestCase extends TestCase { diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ImageTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ImageTestCase.java index 57b49c505..62d5578e4 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ImageTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/ImageTestCase.java @@ -12,23 +12,22 @@ package org.aspectj.ajdt.internal.compiler.batch; -import java.io.*; -import java.io.File; -import java.util.*; - import junit.framework.*; -import org.aspectj.ajdt.internal.core.builder.*; -import org.aspectj.bridge.*; -import org.aspectj.util.*; -import org.aspectj.workbench.resources.*; -import org.eclipse.core.internal.resources.*; -import org.eclipse.core.resources.*; -import org.eclipse.core.runtime.*; -import org.eclipse.jdt.core.compiler.*; -import org.eclipse.jdt.internal.compiler.*; -import org.eclipse.jdt.internal.compiler.Compiler; -import org.eclipse.jdt.internal.core.builder.*; +//import java.io.*; +//import java.io.File; +//import java.util.*; +//import org.aspectj.ajdt.internal.core.builder.*; +//import org.aspectj.bridge.*; +//import org.aspectj.util.*; +//import org.aspectj.workbench.resources.*; +//import org.eclipse.core.internal.resources.*; +//import org.eclipse.core.resources.*; +//import org.eclipse.core.runtime.*; +//import org.eclipse.jdt.core.compiler.*; +//import org.eclipse.jdt.internal.compiler.*; +//import org.eclipse.jdt.internal.compiler.Compiler; +//import org.eclipse.jdt.internal.core.builder.*; public class ImageTestCase extends TestCase { diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/MultipleCompileTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/MultipleCompileTestCase.java index cce325d74..990ede115 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/MultipleCompileTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/MultipleCompileTestCase.java @@ -14,10 +14,6 @@ package org.aspectj.ajdt.internal.compiler.batch; import java.io.*; -import org.aspectj.weaver.bcel.*; - -import junit.framework.*; - public class MultipleCompileTestCase extends CommandTestCase { /** diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java index 2de0ad74d..2dd0e8317 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java @@ -17,7 +17,6 @@ import java.util.*; import junit.framework.TestCase; import org.aspectj.ajdt.ajc.BuildArgParser; -import org.aspectj.asm.*; import org.aspectj.asm.StructureModelManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.MessageHandler; @@ -29,7 +28,6 @@ import org.eclipse.core.internal.events.ResourceDelta; import org.eclipse.core.resources.*; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.*; -import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jdt.internal.core.builder.*; import org.eclipse.jdt.internal.core.builder.SimpleLookupTable; diff --git a/util/src/org/aspectj/util/FuzzyBoolean.java b/util/src/org/aspectj/util/FuzzyBoolean.java index adb66bb41..eccb74dbf 100644 --- a/util/src/org/aspectj/util/FuzzyBoolean.java +++ b/util/src/org/aspectj/util/FuzzyBoolean.java @@ -14,8 +14,6 @@ package org.aspectj.util; -import java.util.*; - /** This class implements boolean that include a "maybe" */