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

Add WriterConcern.valueOf WAS: Make WriteConcern a Enum

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.3
    • Affects Version/s: 2.1
    • Component/s: API
    • None

      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.

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

              Created:
              Updated:
              Resolved: