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

enum DB.WriteConcern is not public

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None

      DB.WriteConcern.STRICT is declared like the following in DB.java:

      static enum WriteConcern

      { NONE, NORMAL, STRICT }

      ;

      which makes DB.setWriteConcern( WriteConcern concern ) unusable because DB.WriteConcern cannot be accessed outside the com.mongodb package.

      Unless I'm missing something...

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            sultanr@outblaze.com Sultan Rehman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: