[JAVA-3262] Deprecate isModifiedCount available methods Created: 11/Apr/19  Updated: 28/Oct/23  Resolved: 15/Apr/19

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

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

Issue Links:
Depends
is depended on by JAVA-3264 Remove deprecated isModifiedCountAvai... Closed
Backwards Compatibility: Fully Compatible

 Description   

The modifiedCount for an update/delete operation has been available since MongoDB 2.6, and since that's the minimum supported version, there is no longer a need for isModifiedCountAvailable methods on write-result classes.

Let's deprecate them so they can be removed in 4.0.



 Comments   
Comment by Githook User [ 15/Apr/19 ]

Author:

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

Message: Deprecated isModifiedCountAvailable methods

Additionally, remove usage of this method and simplify code to assume
that the modifiedCount is available on all supported server versions.

JAVA-3262
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1feaf70daf718ffbd899c74bf15284dd9faab23d

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