[JAVA-419] implement the putAll( Map m ) method in GridFSFile.java Created: 18/Aug/11 Updated: 03/Sep/15 Resolved: 02/Sep/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | GridFS |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Frank Wen | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I use the method in my project, but found it's not implemented, it just throw new UnsupportedOperationException(); Why not implement it? it's easy. And the mothod is useful. |
| Comments |
| Comment by Ross Lawley [ 02/Sep/15 ] |
|
There is a new GridFS implementation |
| Comment by Thilo Planz [ 09/Jan/12 ] |
|
The same applies for the other putAll (with a BSONObject argument). It also just throws UnsupportedOperationException. Is there a spec problem with these two? I suppose not, since put itself is implemented and works, and putAll can just be calling put in a loop for all keys in the Map/BSONObject. |