[JAVA-1101] Remove DBCursor methods that expose implementation details Created: 31/Jan/14  Updated: 31/Mar/15  Resolved: 31/Jan/14

Status: Closed
Project: Java Driver
Component/s: API, Query Operations
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

These methods expose implementation details of how cursors are implemented, and shouldn't be relied on by clients for correct behavior. It's more something that the driver should log, not expose as public API methods.

  • DBCursor#numGetMores
  • DBCursor#getSizes

They were deprecated in 2.12, and should be removed in 3.0



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 31/Jan/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1101: Removed DBCursor.numGetMores and DBCursor.getSizes
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/120c12277f94631ae627b0ca3d9ab3ed16227921

Generated at Thu Feb 08 08:53:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.