]> source.dussan.org Git - aspectj.git/commitdiff
231396: Comment #4: Big Refactoring
authoraclement <aclement>
Wed, 28 May 2008 23:54:08 +0000 (23:54 +0000)
committeraclement <aclement>
Wed, 28 May 2008 23:54:08 +0000 (23:54 +0000)
util/src/org/aspectj/util/FileUtil.java
util/src/org/aspectj/util/LangUtil.java

index d7892f6eba194a9ac5d2c87718ba4dd37a4dbd1b..6b76df1b2d47529c505608054767d9f8a1df8d19 100644 (file)
@@ -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)) {
index 5fb251f89c48f7449306fe4cfa2e1646d11a1c51..87ae667e66f577f0ce924ea131fd3e3783d2d2fc 100644 (file)
@@ -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;