diff --git a/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/DefaultFileUploadWireMockTest.java b/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/DefaultFileUploadWireMockTest.java index 70a1a3abc4a8..b76a24518a3d 100644 --- a/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/DefaultFileUploadWireMockTest.java +++ b/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/DefaultFileUploadWireMockTest.java @@ -118,8 +118,8 @@ void retryableErrorDuringUpload_shouldSupportRetries() { .withBody("Internal Error"))); UploadFileRequest request = UploadFileRequest.builder() - .source(testFile). - putObjectRequest(put -> put.bucket("bucket").key("key")) + .source(testFile) + .putObjectRequest(put -> put.bucket("bucket").key("key")) .build(); assertThatThrownBy(() -> tm.uploadFile(request).completionFuture().join())