Don't use deprecated method
@@ -48,7 +48,7 @@ public DirectoryStreamFilter(final PathFilter pathFilter) {
@Override
public boolean accept(final Path path) throws IOException {
- return pathFilter.accept(path, PathUtils.readBasicFileAttributes(path)) == FileVisitResult.CONTINUE;
+ return pathFilter.accept(path, PathUtils.readBasicFileAttributes(path, PathUtils.EMPTY_LINK_OPTION_ARRAY)) == FileVisitResult.CONTINUE;
}
/**
