From: wisberg Date: Thu, 20 Jul 2006 22:10:32 +0000 (+0000) Subject: unused import X-Git-Tag: PRE_PIPELINE~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e750f4fcb5a0b4ace91cc7f7dfe091ff38666709;p=aspectj.git unused import --- diff --git a/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java b/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java index e3c720ee6..ba0e0af9b 100644 --- a/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java +++ b/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java @@ -42,7 +42,6 @@ import org.aspectj.internal.tools.build.Messager; import org.aspectj.internal.tools.build.Module; import org.aspectj.internal.tools.build.Result; import org.aspectj.internal.tools.build.Util; -import org.aspectj.internal.tools.build.Result.Kind; /** * Implement Builder in Ant. @@ -322,7 +321,7 @@ public class AntBuilder extends Builder { hasLibraries = true; } } - Kind kind = result.getKind(); +// Westodo Kind kind = result.getKind(); Result[] reqs = result.getRequired(); // required modules and their exported libraries for (int i = 0; i < reqs.length; i++) { @@ -618,7 +617,7 @@ public class AntBuilder extends Builder { ClassLoader loader = new URLClassLoader(cp, parent); Class c = loader.loadClass(AJCTASK); task = c.newInstance(); - Project project = javac.getProject(); +// Westodo Project project = javac.getProject(); Method m = c.getMethod("setupAjc", new Class[] {Javac.class}); m.invoke(task, new Object[] {javac}); m = c.getMethod("setFork", new Class[] {boolean.class});