zstan commented on a change in pull request #484:
URL: https://github.com/apache/ignite-3/pull/484#discussion_r762951320



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/util/ArrayUtils.java
##########
@@ -295,7 +298,22 @@ public static boolean nullOrEmpty(boolean[] arr) {
     public static <T> List<T> asList(@Nullable T... vals) {
         return nullOrEmpty(vals) ? Collections.emptyList() : 
Arrays.asList(vals);
     }
-
+    
+    /**
+     * Converts array to {@link Set}.
+     *
+     * <p>Note that unlike {@link Arrays#asList(Object[])}, this method is 
{@code null}-safe. If {@code null} is passed in, then empty set

Review comment:
       got it !




-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to