From: amwaterhouse Date: Mon, 12 Sep 2005 17:00:00 +0000 (+0000) Subject: Always return true for directories X-Git-Tag: Release_2_05b~43 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e4126366d996f72a7d716820b9b32d12c7c22dfe;p=jalview.git Always return true for directories --- diff --git a/src/jalview/io/JalviewFileFilter.java b/src/jalview/io/JalviewFileFilter.java index 907b1b3..cdd868c 100755 --- a/src/jalview/io/JalviewFileFilter.java +++ b/src/jalview/io/JalviewFileFilter.java @@ -79,17 +79,7 @@ public class JalviewFileFilter if (f.isDirectory()) { - if ( (extension == null) || extension.equals("")) - { return true; - } - else - { - if (filters.get(getExtension(f)) != null) - { - return true; - } - } } if ( (extension != null) && (filters.get(getExtension(f)) != null))