You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mikolaj Rydzewski (JIRA)" <ji...@apache.org> on 2012/11/14 11:14:11 UTC

[jira] [Created] (COLLECTIONS-435) CollectionUtils.removeAll() calls ListUtils.retainAll()

Mikolaj Rydzewski created COLLECTIONS-435:
---------------------------------------------

             Summary: 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:

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

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

[jira] [Updated] (COLLECTIONS-435) CollectionUtils.removeAll() calls ListUtils.retainAll()

Posted by "Mikolaj Rydzewski (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Closed] (COLLECTIONS-435) CollectionUtils.removeAll() calls ListUtils.retainAll()

Posted by "Joerg Schaible (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Schaible closed COLLECTIONS-435.
--------------------------------------

    Resolution: Duplicate
    
> 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