Skip to content

Commit

Permalink
Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Gregory committed Aug 8, 2022
1 parent 77a67f0 commit dc69289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit dc69289

Please sign in to comment.