Skip to content

Commit

Permalink
Add @nullable for commonPrefixVisitor
Browse files Browse the repository at this point in the history
  • Loading branch information
dd-willgan committed Sep 25, 2024
1 parent 9682eef commit 1eb294f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ private static String getNormalizedFileKey(CommonPrefix commonPrefix) {
}

private void visitFiles(URI fileUri, boolean recursive, Consumer<S3Object> objectVisitor,
Consumer<CommonPrefix> commonPrefixVisitor) throws IOException {
@Nullable Consumer<CommonPrefix> commonPrefixVisitor) throws IOException {
try {
String continuationToken = null;
boolean isDone = false;
Expand Down

0 comments on commit 1eb294f

Please sign in to comment.