ascherbakoff commented on a change in pull request #400:
URL: https://github.com/apache/ignite-3/pull/400#discussion_r755856200
##########
File path: modules/api/src/main/java/org/apache/ignite/table/KeyValueView.java
##########
@@ -148,7 +148,7 @@
* @param val Value to be associated with the specified key.
* @return Future representing pending completion of the operation.
*/
- @NotNull CompletableFuture<Boolean> putIfAbsentAsync(@NotNull K key, V
val);
+ @NotNull CompletableFuture<Boolean> putIfAbsentAsync(@NotNull K key,
@NotNull V val);
Review comment:
These arguments are validated using
Objects.requireNonNull(key);
Objects.requireNonNull(value);
So NullPointerException will be throw.
I don't want to fix javadocs in all table APIs under this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]