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

Add WriterConcern.valueOf WAS: Make WriteConcern a Enum

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.3
    • 2.1
    • API
    • None

    Description

      Would be cool if the WriteConcern class was a Java5 Enum. That way, one could pass a string (.valueOf(String)) coming from a config file to it. Shouldn't affect existing code bases much.

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez (Inactive)
            analytically Mathias Bogaert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: