Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-7199 BaseEmbeddedQuery must ensure the ClosableIterator is closed #4666

Closed
wants to merge 3 commits into from

Conversation

anistor
Copy link
Member

@anistor anistor commented Nov 14, 2016

Comparator<Comparable[]> comparator = getComparator();
if (comparator == null) {
// collect unsorted results and get the requested page if any was specified
if (iterator.hasNext()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already one iterator.hasNext() check above.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@danberindei
Copy link
Member

Integrated, thanks Adrian!

@anistor anistor deleted the t_close_iterator_m branch November 15, 2016 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants