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

CollectionBag should respect removeAll / retainAll contract of decorated bags

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-alpha1
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: