- com.mongodb.reactivestreams.client.internal.BatchCursor.tryNext and com.mongodb.internal.async.AsyncBatchCursor are internal.
- BatchCursor.tryNext is not called.
- AsyncBatchCursor.tryNext is called only from
- BatchCursor.tryNext, which is not called from anywhere else
- implementations of AsyncBatchCursor.tryNext, which are only called from BatchCursor.tryNext, which is not called.
It follows from the above that we can safely delete the aforementioned tryNext methods.
- split from
-
JAVA-3907 AsyncQueryBatchCursor does not release ConnectionSource when closed
- Closed