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

Override Iterator#forEachRemaining in MongoCursor #1161

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

jyemin
Copy link
Contributor

@jyemin jyemin commented Jul 27, 2023

The override of the default implementation ensures that the cursor is closed even if an exception is thrown.

JAVA-5085

The override of the default implementation ensures that the cursor is closed
even if an exception is thrown.

JAVA-5085
@jyemin jyemin requested review from rozza and stIncMale July 27, 2023 16:41
@jyemin jyemin self-assigned this Jul 27, 2023
@jyemin jyemin merged commit df1264b into mongodb:master Jul 27, 2023
54 checks passed
@jyemin jyemin deleted the j5085 branch July 27, 2023 20:23
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