[JAVA-51] enum DB.WriteConcern is not public Created: 03/Nov/09 Updated: 29/Nov/09 Resolved: 03/Nov/09 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 0.11 |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sultan Rehman | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
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... |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 29/Nov/09 ] |
|
released |
| Comment by Eliot Horowitz (Inactive) [ 03/Nov/09 ] |
|
is fixed in master and in 1.0 |