aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-02-13 05:18:47 +0000
committerwisberg <wisberg>2003-02-13 05:18:47 +0000
commit656fa507704573c7dadb46036ddfaa18f6ff6b80 (patch)
tree761dcb24f4533fbaf98688ec2e4a9d76ad8797fd
parentebae84596d5d4f5ae91e040f5af6d6169670007a (diff)
downloadaspectj-656fa507704573c7dadb46036ddfaa18f6ff6b80.tar.gz
aspectj-656fa507704573c7dadb46036ddfaa18f6ff6b80.zip
resolving misc compiler warnings
-rw-r--r--build/src/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java2
-rw-r--r--build/src/org/aspectj/internal/tools/ant/taskdefs/AJPush.java12
-rw-r--r--build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java4
-rw-r--r--build/src/org/aspectj/internal/tools/ant/taskdefs/VersionUptodate.java1
-rw-r--r--build/src/org/aspectj/internal/tools/build/BuildSpec.java5
-rw-r--r--build/src/org/aspectj/internal/tools/build/Builder.java1
6 files changed, 10 insertions, 15 deletions
diff --git a/build/src/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java b/build/src/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java
index 4dd35c4b8..614e60f44 100644
--- a/build/src/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java
+++ b/build/src/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java
@@ -65,7 +65,7 @@ public class AJInstaller extends MatchingTask {
protected Copy getCopyTask() {
Copy cd = (Copy)project.createTask("copy");
if (null == cd) {
- log("project.createTask(\"copy\") failed - direct", project.MSG_VERBOSE);
+ log("project.createTask(\"copy\") failed - direct", Project.MSG_VERBOSE);
cd = new Copy();
cd.setProject(getProject());
}
diff --git a/build/src/org/aspectj/internal/tools/ant/taskdefs/AJPush.java b/build/src/org/aspectj/internal/tools/ant/taskdefs/AJPush.java
index 4a778cb67..fe6e12b45 100644
--- a/build/src/org/aspectj/internal/tools/ant/taskdefs/AJPush.java
+++ b/build/src/org/aspectj/internal/tools/ant/taskdefs/AJPush.java
@@ -13,12 +13,14 @@
package org.aspectj.internal.tools.ant.taskdefs;
-import org.apache.tools.ant.*;
-import org.apache.tools.ant.types.*;
-import org.apache.tools.ant.taskdefs.*;
-import java.io.*;
-import java.util.*;
+import org.apache.tools.ant.taskdefs.Mkdir;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
import java.text.DecimalFormat;
+import java.util.Properties;
public class AJPush extends ConditionalTask {
private File src;
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 4549d2004..613e71341 100644
--- a/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java
+++ b/build/src/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java
@@ -713,11 +713,11 @@ class ProjectMessager extends Messager {
return true;
}
public boolean error(String s) {
- project.log(s, project.MSG_ERR);
+ project.log(s, Project.MSG_ERR);
return true;
}
public boolean logException(String context, Throwable thrown) {
- project.log(context + Util.renderException(thrown), project.MSG_ERR);
+ project.log(context + Util.renderException(thrown), Project.MSG_ERR);
return true;
}
diff --git a/build/src/org/aspectj/internal/tools/ant/taskdefs/VersionUptodate.java b/build/src/org/aspectj/internal/tools/ant/taskdefs/VersionUptodate.java
index a2ac09ff3..61042c54b 100644
--- a/build/src/org/aspectj/internal/tools/ant/taskdefs/VersionUptodate.java
+++ b/build/src/org/aspectj/internal/tools/ant/taskdefs/VersionUptodate.java
@@ -13,7 +13,6 @@
package org.aspectj.internal.tools.ant.taskdefs;
import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import java.io.BufferedReader;
diff --git a/build/src/org/aspectj/internal/tools/build/BuildSpec.java b/build/src/org/aspectj/internal/tools/build/BuildSpec.java
index f5b53c72b..208992cbe 100644
--- a/build/src/org/aspectj/internal/tools/build/BuildSpec.java
+++ b/build/src/org/aspectj/internal/tools/build/BuildSpec.java
@@ -16,11 +16,6 @@ package org.aspectj.internal.tools.build;
import java.io.File;
-import java.text.SimpleDateFormat;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Date;
-import java.util.List;
import java.util.Properties;
/**
diff --git a/build/src/org/aspectj/internal/tools/build/Builder.java b/build/src/org/aspectj/internal/tools/build/Builder.java
index 9798ce320..7eddfcfdf 100644
--- a/build/src/org/aspectj/internal/tools/build/Builder.java
+++ b/build/src/org/aspectj/internal/tools/build/Builder.java
@@ -22,7 +22,6 @@ import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
-import java.util.Properties;
/**
* Template class to build (eclipse) modules (and, weakly, products),