commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baris Acar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COLLECTIONS-315) CollectionUtils.removeAll calls the wrong ListUtils method
Date Tue, 01 May 2012 12:03:50 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265752#comment-13265752
] 

Baris Acar commented on COLLECTIONS-315:
----------------------------------------

Is there any plan for when this will be released? The latest version, 3.2.1, still contains
this bug.
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message