[JAVA-1430] DBCollection unused code Created: 05/Sep/14 Updated: 30/Jan/15 Resolved: 07/Oct/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Trisha Gee | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The DBCollection methods
Are package-private and unused - should they be deleted? The getCount method getCount(DBObject, DBObject, long, long, ReadPreference, long, TimeUnit, BsonValue) has an unused parameter, DBObject projection. Since this method is package-level, and even the javadoc says it's ignored, this could be deleted. The field NAMESPACE_KEY_NAME is never used, and private, and can be deleted. |
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Removed unused non-public field/methods in DBCollection
|
| Comment by Githook User [ 07/Oct/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Removed unused non-public field/methods in DBCollection
|