korlov42 commented on code in PR #817:
URL: https://github.com/apache/ignite-3/pull/817#discussion_r882365133
##########
modules/core/src/main/java/org/apache/ignite/internal/util/CollectionUtils.java:
##########
@@ -107,6 +107,27 @@ public static <T> T first(Collection<? extends T> col) {
return col.iterator().next();
}
+ /**
+ * Gets first element from given iterable or returns {@code null} if list
is empty.
Review Comment:
```suggestion
* Returns first element from the given iterable or returns {@code null}
if the list is empty.
```
--
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]