Fix failing test

This commit is contained in:
Juan Martín Sotuyo Dodero
2019-08-15 14:34:05 -03:00
parent 032acbd65d
commit 660c018511

View File

@ -193,7 +193,7 @@ public abstract class AbstractAnalysisCache implements AnalysisCache {
EnumSet.of(FileVisitOption.FOLLOW_LINKS), 1, jarFileVisitor);
} else if (f.isFile()) {
entries.add(f.toURI().toURL());
} else {
} else if (f.exists()) { // ignore non-existing directories
Files.walkFileTree(f.toPath(), EnumSet.of(FileVisitOption.FOLLOW_LINKS), Integer.MAX_VALUE,
fileVisitor);
}