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

CollectionUtils.removeAll calls the wrong ListUtils method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.2
    • None
    • Core
    • None

    Description

      Using version 3.2.1 as downloaded from maven's public repository.

      CollectionUtils.removeAll should call ListUtils.removeAll instead of ListUtils.retainAll.

      Currently
      {{public static Collection removeAll(Collection collection, Collection remove)

      { return ListUtils.retainAll(collection, remove); }

      }}

      Suggested
      {{public static Collection removeAll(Collection collection, Collection remove)

      { return ListUtils.*removeAll*(collection, remove); }

      }}

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cheriot Christopher
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: