[ 
https://issues.apache.org/jira/browse/COLLECTIONS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikolaj Rydzewski updated COLLECTIONS-435:
------------------------------------------

    Description: 
A snippet from CollectionUtils.java:

{code:title=CollectionUtils.java}
public static Collection removeAll(Collection collection, Collection remove) {
        return ListUtils.retainAll(collection, remove);
}
{code}
It should call ListUtils.removeAll() instead.

  was:
A snippet from CollectionUtils.java:

public static Collection removeAll(Collection collection, Collection remove) {
        return ListUtils.retainAll(collection, remove);
}

It should call ListUtils.removeAll() instead.

    
> CollectionUtils.removeAll() calls ListUtils.retainAll()
> -------------------------------------------------------
>
>                 Key: COLLECTIONS-435
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-435
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection
>    Affects Versions: 3.2.1
>            Reporter: Mikolaj Rydzewski
>
> A snippet from CollectionUtils.java:
> {code:title=CollectionUtils.java}
> public static Collection removeAll(Collection collection, Collection remove) {
>         return ListUtils.retainAll(collection, remove);
> }
> {code}
> It should call ListUtils.removeAll() instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to