com.mongodb.MongoClient should implement the close method

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.9.1
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      com.mongodb.MongoClient implements Closeable, but the close method is actually defined in com.mongodb.Mongo, its superclass. This shouldn't generate a compiler warning, but Eclipse is complaining about it anyway. See JAVA-3000.

      The solution is probably to add a close method to MongoClient that just calls super.close.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: