The DBCollection methods
- getDocumentCodec
- getOptionHolder
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.