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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
CollectionUtils.removeAll() calls ListUtils.retainAll()
-------------------------------------------------------

                 Key: COLLECTIONS-284
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-284
             Project: Commons Collections
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Chuck Deal


CollectionUtils.removeAll() calls ListUtils.retainAll().  I believe it should actually be

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


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

Chuck Deal updated COLLECTIONS-284:
-----------------------------------

    Description:
CollectionUtils.removeAll() calls ListUtils.retainAll().  I believe it should actually be

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


  was:
CollectionUtils.removeAll() calls ListUtils.retainAll().  I believe it should actually be

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



> CollectionUtils.removeAll() calls ListUtils.retainAll()
> -------------------------------------------------------
>
>                 Key: COLLECTIONS-284
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-284
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Chuck Deal
>
> CollectionUtils.removeAll() calls ListUtils.retainAll().  I believe it should actually be
> public static Collection removeAll(Collection collection, Collection remove) {
>         return ListUtils.removeAll(collection, remove);
> }

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Henri Yandell closed COLLECTIONS-284.
-------------------------------------

    Resolution: Duplicate

Thanks Chuck, this is already fixed in trunk (COLLECTIONS-219).

> CollectionUtils.removeAll() calls ListUtils.retainAll()
> -------------------------------------------------------
>
>                 Key: COLLECTIONS-284
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-284
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Chuck Deal
>
> CollectionUtils.removeAll() calls ListUtils.retainAll().  I believe it should actually be
> public static Collection removeAll(Collection collection, Collection remove) {
>         return ListUtils.removeAll(collection, remove);
> }

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.