Don't use deprecated method
MODIFY
src/main/java/org/apache/commons/io/file/DirectoryStreamFilter.java
src/main/java/org/apache/commons/io/file/DirectoryStreamFilter.java
@@ -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;
}
/**

Don't use deprecated method