sk0x50 commented on a change in pull request #514:
URL: https://github.com/apache/ignite-3/pull/514#discussion_r771410763
##########
File path: modules/api/src/main/java/org/apache/ignite/table/KeyValueView.java
##########
@@ -291,9 +317,10 @@ default V getOrDefault(K key, V defaultValue) {
*
* @param key A key with which the specified value is associated. The key
cannot be {@code null}.
* @param val Value to be associated with the specified key.
+ * @param tx The transaction or {@code null} to auto commit.
Review comment:
The code snippet in the Javadoc for this method should be updated as
well.
```
* if (view.containsKey(key, tx)) {
* view.put(key, value, tx);
* return true;
* } else {
* return false;
* }</code></pre>
```
--
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]