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

Some Java methods are not listing default values

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.5.0
    • Affects Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      On the following page:
      http://api.mongodb.org/java/current/com/mongodb/MongoClientOptions.html
      most methods that return time values show the default value.
      However some, like the following:

      • getMaxConnectionIdleTime
      • getMaxConnectionLifeTime
      • getHeartbeatFrequency (just putting the default on a separate line should do)
      • getMinHeartbeatFrequency (same as above)
      • getHeartbeatSocketTimeout (same as above)
      • ...
        don't, or are formatted differently.

      Note that methods also show Since, but not all of them. Are we consistent with that section?

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: