diff options
author | acolyer <acolyer> | 2004-01-23 11:49:16 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-01-23 11:49:16 +0000 |
commit | c37cc870d18123be42a8cd508722217a46c1da60 (patch) | |
tree | f790c02e9068727ce8de66b5835842dee3444890 /taskdefs/src/org/aspectj | |
parent | 0db40aec209afb7afb8d00ece28b3a8ac99bceae (diff) | |
download | aspectj-c37cc870d18123be42a8cd508722217a46c1da60.tar.gz aspectj-c37cc870d18123be42a8cd508722217a46c1da60.zip |
spring cleaning in advance of 1.2 enhancements:
removed unused imports, local variables, and private methods
(still there, just commented out).
Diffstat (limited to 'taskdefs/src/org/aspectj')
3 files changed, 11 insertions, 11 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java index bd594c369..65e878628 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java @@ -19,9 +19,9 @@ import org.apache.tools.ant.taskdefs.compilers.CompilerAdapter; import org.aspectj.util.FileUtil; import java.io.File; -import java.io.FileFilter; -import java.io.FileWriter; -import java.io.IOException; +//import java.io.FileFilter; +//import java.io.FileWriter; +//import java.io.IOException; /** * Adapt ajc to javac commands. diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java index 1582b1324..7e7ded5cf 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java @@ -490,7 +490,7 @@ public class Ajc2 extends Javac { line = line.substring(0, isharp); } - int istar = -1; +// int istar = -1; // Argument if (line.startsWith("-")) { @@ -498,7 +498,7 @@ public class Ajc2 extends Javac { } // If there are stars we'll try to resolve the file here - else if ((istar = line.indexOf("*")) != -1) { + else if (line.indexOf("*") != -1) { log("The argfile line '" + line + "' is invalid", Project.MSG_WARN); } diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index 798aeba31..0bf34a24e 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -1768,12 +1768,12 @@ public static class GuardedCommand { } } - private void addFile(File file) { - if (null != file) { - String path = file.getAbsolutePath(); - addFlag(path, true); - } - } +// private void addFile(File file) { +// if (null != file) { +// String path = file.getAbsolutePath(); +// addFlag(path, true); +// } +// } List extractArguments() { ArrayList result = new ArrayList(); |