Skip to content

Commit 0ff68a1

Browse files
KENNYSOFTdagnir
andauthored
Fix typo in Javadoc snippet of AsyncRequestBody.forBlockingOutputStream (#6135)
Co-authored-by: Dongie Agnir <261310+dagnir@users.noreply.github.com>
1 parent 97ceb0a commit 0ff68a1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "documentation",
3+
"category": "AWS SDK for Java v2",
4+
"contributor": "KENNYSOFT",
5+
"description": "Fix typo in Javadoc snippet of `AsyncRequestBody.forBlockingOutputStream`"
6+
}

core/sdk-core/src/main/java/software/amazon/awssdk/core/async/AsyncRequestBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ static BlockingInputStreamAsyncRequestBody forBlockingInputStream(Long contentLe
465465
* long lengthOfDataToSend = dataToSend.length();
466466
*
467467
* // Start the operation
468-
* BlockingInputStreamAsyncRequestBody body =
468+
* BlockingOutputStreamAsyncRequestBody body =
469469
* AsyncRequestBody.forBlockingOutputStream(lengthOfDataToSend);
470470
* CompletableFuture<PutObjectResponse> responseFuture =
471471
* s3.putObject(r -> r.bucket("bucketName").key("key"), body);

0 commit comments

Comments
 (0)