DBCollection unused code

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Trisha Gee (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: