Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-498

CollectionBag should respect removeAll / retainAll contract of decorated bags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-alpha1
    • 4.0
    • None
    • None

    Description

      In case the decorated collection does not support removal, i.e. throws an UnsupportedOperationException, CollectionBag does not respect this in case a null argument was specified.

      To be consistent with the testing framework, CollectionBag shall delegate the call to the decorated collection in such cases.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tn Thomas Neidhart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: