[JAVA-3051] Deprecate com.mongodb.DB public constructor that takes a com.mongodb.Mongo instance Created: 15/Oct/18 Updated: 28/Oct/23 Resolved: 22/Oct/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.9.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 | ||
| Description |
|
With the deprecation of com.mongodb.Mongo this constructor should be deprecated as well so that the Mongo class can be removed in the next major release. Also, there's no good reason we're aware of for the DB class to have a public constructor, so it doesn't need to be replaced with a new public constructor that takes a com.mongodb.MongoClient, though we could consider adding one if requested. |
| Comments |
| Comment by Githook User [ 22/Oct/18 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Deprecate com.mongodb.DB constructor taking a com.mongodb.Mongo With the deprecation of com.mongodb.Mongo this constructor is also now
|