commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COLLECTIONS-315) CollectionUtils.removeAll calls the wrong ListUtils method
Date Tue, 03 Feb 2009 20:41:59 GMT

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

Matt Benson resolved COLLECTIONS-315.
-------------------------------------

    Resolution: Duplicate

> CollectionUtils.removeAll calls the wrong ListUtils method
> ----------------------------------------------------------
>
>                 Key: COLLECTIONS-315
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-315
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.2
>            Reporter: Christopher
>
> 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);
>     }}}

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


Mime
View raw message