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

Unused methods on Mongo

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      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?

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

              Created:
              Updated:
              Resolved: