aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/src/org/aspectj/util/FileUtil.java1
-rw-r--r--util/src/org/aspectj/util/LangUtil.java4
2 files changed, 1 insertions, 4 deletions
diff --git a/util/src/org/aspectj/util/FileUtil.java b/util/src/org/aspectj/util/FileUtil.java
index d7892f6eb..6b76df1b2 100644
--- a/util/src/org/aspectj/util/FileUtil.java
+++ b/util/src/org/aspectj/util/FileUtil.java
@@ -1188,6 +1188,7 @@ public class FileUtil {
* @return List of String of the form file:line for each found entry
* (never null, might be empty)
*/
+ // OPTIMIZE only used by tests? move it out
public static List lineSeek(String sought, List sources, boolean listAll,
PrintStream errorSink) {
if (LangUtil.isEmpty(sought) || LangUtil.isEmpty(sources)) {
diff --git a/util/src/org/aspectj/util/LangUtil.java b/util/src/org/aspectj/util/LangUtil.java
index 5fb251f89..87ae667e6 100644
--- a/util/src/org/aspectj/util/LangUtil.java
+++ b/util/src/org/aspectj/util/LangUtil.java
@@ -16,10 +16,6 @@ package org.aspectj.util;
//import java.awt.event.InvocationEvent;
import java.io.*;
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.security.PrivilegedActionException;