commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-315) CollectionUtils.removeAll calls the wrong ListUtils method
Date Tue, 03 Feb 2009 19:31:59 GMT
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