commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikolaj Rydzewski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COLLECTIONS-435) CollectionUtils.removeAll() calls ListUtils.retainAll()
Date Wed, 14 Nov 2012 10:16:14 GMT

     [ 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

Mime
View raw message