JAkutenshi commented on code in PR #4018:
URL: https://github.com/apache/ignite-3/pull/4018#discussion_r1664370143
##########
modules/table/src/main/java/org/apache/ignite/internal/table/AbstractTableView.java:
##########
@@ -293,4 +294,20 @@ protected interface KvAction<R> {
*/
CompletableFuture<R> act(int schemaVersion);
}
+
+
+ /**
+ * Checks that given keys collection isn't null and there is no a
null-value key.
+ *
+ * @param keys Given keys collection.
+ * @param <K> Keys type.
+ * @throws NullPointerException In case if the collection null either any
key is null.
+ */
+ protected static <K> void checkKeysForNulls(Collection<K> keys) {
Review Comment:
I moved common static methods `sync(...)` and `checkKeysForNulls(...)` to a
common `org.apache.ignite.internal.util.ViewUtils` class that into
`:ignite-core` module.
--
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]