[SERVER-138] RemoveOne throwing exception if more than one result is found Created: 09/Jul/09  Updated: 10/Dec/14  Resolved: 02/Apr/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: sandstrom Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Don't know if it's technically a good idea, but a removeOne method throwing an exception if more than one result is found could be a nice idea.
Would make it easier to spot possible erroneous remove operations.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Apr/13 ]

remove one should be thought of like a limit, so don't think an error makes sense

Generated at Thu Feb 08 02:53:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.