bratwurzt commented on a change in pull request #7704:
URL: https://github.com/apache/ignite/pull/7704#discussion_r428506350
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/QueryCursorImpl.java
##########
@@ -92,6 +93,11 @@ public QueryCursorImpl(Iterable<T> iterExec, GridQueryCancel
cancel, boolean isQ
return new AutoClosableCursorIterator<>(this, iter());
}
+ /** {@inheritDoc} */
+ @Override public Spliterator<T> spliterator() {
+ return iterExec == null ? QueryCursorEx.super.spliterator() :
iterExec.spliterator();
Review comment:
You don't use @Nonnull annotations or some
`com.google.common.base.Preconditions` equivalent in this project, right? Force
of habit, I guess. :) will fix.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]