JAL-1645 source formatting and organise imports
[jalview.git] / src / com / stevesoft / pat / DirFileRegex.java
index c46762e..bc62910 100755 (executable)
@@ -1,18 +1,31 @@
-//\r
-// This software is now distributed according to\r
-// the Lesser Gnu Public License.  Please see\r
-// http://www.gnu.org/copyleft/lesser.txt for\r
-// the details.\r
-//    -- Happy Computing!\r
-//\r
-package com.stevesoft.pat;\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
-}\r
+//
+// This software is now distributed according to
+// the Lesser Gnu Public License.  Please see
+// http://www.gnu.org/copyleft/lesser.txt for
+// the details.
+//    -- Happy Computing!
+//
+package com.stevesoft.pat;
+
+/**
+ * This class is just like FileRegex, except that its accept method only returns
+ * true if the file matching the pattern is a directory.
+ */
+public class DirFileRegex extends FileRegex
+{
+  public DirFileRegex()
+  {
+    dirflag = DIR;
+  }
+
+  public DirFileRegex(String fp)
+  {
+    super(fp);
+    dirflag = DIR;
+  }
+
+  public static String[] list(String f)
+  {
+    return list(f, DIR);
+  }
+}