Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1420

Unused methods on Mongo

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API
    • None

    Description

      The method
      public List<ServerAddress> getAllAddress() {

      on Mongo is unused. It either needs to be tested, or deprecated and removed. Since there's a TODO note on there, it looks like deprecation might be the correct approach.

      The methods
      public Collection<DB> getUsedDatabases() {
      public String getConnectPoint() {

      area also not used. They should be tested or deprecated.

      The decoder parameter on
      <T> T execute(final WriteOperation<T> operation, final Decoder<DBObject> decoder) {

      is never used, and it's a package-level method - should it just be removed?

      Attachments

        Activity

          People

            Unassigned Unassigned
            trisha.gee@10gen.com Trisha Gee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: