summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authoraclement <aclement>2008-05-28 23:54:08 +0000
committeraclement <aclement>2008-05-28 23:54:08 +0000
commit93a6cdb2f643b3523aa0d80fab06cf6bed3db877 (patch)
tree695fef5fd07de26463b9a8c866c6a126f0338d8e /util
parent91109eab15f47311489b5028aea3f1fc056b1d41 (diff)
downloadaspectj-93a6cdb2f643b3523aa0d80fab06cf6bed3db877.tar.gz
aspectj-93a6cdb2f643b3523aa0d80fab06cf6bed3db877.zip
231396: Comment #4: Big Refactoring
Diffstat (limited to 'util')
-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;