From e4126366d996f72a7d716820b9b32d12c7c22dfe Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 12 Sep 2005 17:00:00 +0000 Subject: [PATCH] Always return true for directories --- src/jalview/io/JalviewFileFilter.java | 10 ---------- 1 file changed, 10 deletions(-) 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)) -- 1.7.10.2