Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-138

RemoveOne throwing exception if more than one result is found

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sandstrom sandstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: