Always return true for directories
authoramwaterhouse <Andrew Waterhouse>
Mon, 12 Sep 2005 17:00:00 +0000 (17:00 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 12 Sep 2005 17:00:00 +0000 (17:00 +0000)
src/jalview/io/JalviewFileFilter.java

index 907b1b3..cdd868c 100755 (executable)
@@ -79,17 +79,7 @@ public class JalviewFileFilter
 \r
       if (f.isDirectory())\r
       {\r
-        if ( (extension == null) || extension.equals(""))\r
-        {\r
           return true;\r
-        }\r
-        else\r
-        {\r
-          if (filters.get(getExtension(f)) != null)\r
-          {\r
-            return true;\r
-          }\r
-        }\r
       }\r
 \r
       if ( (extension != null) && (filters.get(getExtension(f)) != null))\r