VIVO-581 Avoid Files.isReadable() — it runs slowly on some Windows machines.

This commit is contained in:
j2blake 2013-12-10 15:09:56 -05:00
parent d4443fe601
commit 46b9340655

View file

@ -285,7 +285,7 @@ public class FreemarkerTemplateLoader implements TemplateLoader {
} }
public boolean fileQualifies(Path path) { public boolean fileQualifies(Path path) {
return Files.isReadable(path) && !Files.isDirectory(path); return !Files.isDirectory(path);
} }
public SortedSet<PathPieces> getMatches() { public SortedSet<PathPieces> getMatches() {