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

RemoveOne throwing exception if more than one result is found

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: