Skip to content

Commit

Permalink
Fix spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
muralibasani committed Jan 27, 2025
1 parent 8989836 commit 6337909
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ private Stream<S3Object> getS3ObjectStream(final String startToken) {
return Stream.iterate(s3Client.listObjectsV2(request), Objects::nonNull, response -> {
// This is called every time next() is called on the iterator.
if (response.isTruncated()) {
return s3Client.listObjectsV2(ListObjectsV2Request.builder().bucket(bucketName)
return s3Client.listObjectsV2(ListObjectsV2Request.builder()
.bucket(bucketName)
.maxKeys(s3SourceConfig.getS3ConfigFragment().getFetchPageSize() * PAGE_SIZE_FACTOR)
.continuationToken(response.nextContinuationToken())
.build());
Expand Down

0 comments on commit 6337909

Please sign in to comment.