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

Prefix internal async MongoClient interface names with "Async"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Internal
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      Now that the callback-based MongoClient has moved to the mongodb-driver-core module, even though it's internal (and won't appear in Javadoc) it's still public, which means that it will appear in IDE code completion. Since the class and interface names are all the same as the sync driver, it will be confusing to users of the sync driver to have them appear.

      Let's prefix all the names with "Async", e.g. AsyncMongoClient, to avoid this confusion.

        Attachments

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            jeff.yemin Jeffrey Yemin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: