Formatting
[jalview.git] / src / com / stevesoft / pat / DirFileRegex.java
index 731457c..24c0cf6 100755 (executable)
@@ -6,14 +6,25 @@
 //    -- Happy Computing!\r
 //\r
 package com.stevesoft.pat;\r
-import java.io.File;\r
 \r
 /** This class is just like FileRegex, except that its accept method\r
  only returns true if the file matching the pattern is a directory.*/\r
-public class DirFileRegex extends FileRegex {\r
-    public DirFileRegex() { dirflag = DIR; }\r
-    public DirFileRegex(String fp) { super(fp); dirflag = DIR; }\r
-    public static String[] list(String f) {\r
-        return list(f,DIR);\r
-    }\r
+public class DirFileRegex\r
+    extends FileRegex\r
+{\r
+  public DirFileRegex()\r
+  {\r
+    dirflag = DIR;\r
+  }\r
+\r
+  public DirFileRegex(String fp)\r
+  {\r
+    super(fp);\r
+    dirflag = DIR;\r
+  }\r
+\r
+  public static String[] list(String f)\r
+  {\r
+    return list(f, DIR);\r
+  }\r
 }\r