[JAVA-3486] Prefix internal async MongoClient interface names with "Async" Created: 31/Oct/19 Updated: 28/Oct/23 Resolved: 05/Nov/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Internal |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.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 | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
Now that the callback-based MongoClient has moved to the mongodb-driver-core module, even though it's internal (and won't appear in Javadoc) it's still public, which means that it will appear in IDE code completion. Since the class and interface names are all the same as the sync driver, it will be confusing to users of the sync driver to have them appear. Let's prefix all the names with "Async", e.g. AsyncMongoClient, to avoid this confusion. |
| Comments |
| Comment by Githook User [ 15/Jan/20 ] |
|
Author: {'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}Message: Prefix callback-based MongoClient API elements with "Async"
|