VIVO-581 Avoid Files.isReadable() — it runs slowly on some Windows machines.
This commit is contained in:
parent
d4443fe601
commit
46b9340655
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ public class FreemarkerTemplateLoader implements TemplateLoader {
|
|||
}
|
||||
|
||||
public boolean fileQualifies(Path path) {
|
||||
return Files.isReadable(path) && !Files.isDirectory(path);
|
||||
return !Files.isDirectory(path);
|
||||
}
|
||||
|
||||
public SortedSet<PathPieces> getMatches() {
|
||||
|
|
Loading…
Add table
Reference in a new issue