From db19315ca54bf334c86dc91ebc6199a6cc0cbe97 Mon Sep 17 00:00:00 2001 From: debora-ito <476307+debora-ito@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:33:20 -0800 Subject: [PATCH] A few javadoc corrections --- .../awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java b/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java index 3b117643331b..e193fe681df8 100644 --- a/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java +++ b/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java @@ -324,7 +324,7 @@ default CompletableFuture> deleteItemWithResponse( * * * @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table. - * @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted. + * @return a {@link CompletableFuture} of the retrieved item. */ default CompletableFuture getItem(GetItemEnhancedRequest request) { throw new UnsupportedOperationException(); @@ -423,7 +423,7 @@ default CompletableFuture getItem(T keyItem) { * * * @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table. - * @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted. + * @return a {@link CompletableFuture} containing the response returned by DynamoDB. */ default CompletableFuture> getItemWithResponse(GetItemEnhancedRequest request) { throw new UnsupportedOperationException(); @@ -454,7 +454,7 @@ default CompletableFuture> getItemWithResponse(GetIte * * @param requestConsumer A {@link Consumer} of {@link GetItemEnhancedRequest.Builder} with key and optional directives * for retrieving an item from the table. - * @return a {@link CompletableFuture} of the retrieved item + * @return a {@link CompletableFuture} containing the response returned by DynamoDB. */ default CompletableFuture> getItemWithResponse( Consumer requestConsumer) { @@ -931,7 +931,7 @@ default CompletableFuture deleteTable() { } /** - * Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable). + * Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable}. * This operation calls the low-level DynamoDB API DescribeTable operation, * see {@link DynamoDbAsyncClient#describeTable(DescribeTableRequest)} *