You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hollis Waite (JIRA)" <ji...@apache.org> on 2013/10/05 01:58:41 UTC

[jira] [Created] (COLLECTIONS-485) Collection copy-constructors should accept wildcarded input

Hollis Waite created COLLECTIONS-485:
----------------------------------------

             Summary: Collection copy-constructors should accept wildcarded input
                 Key: COLLECTIONS-485
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-485
             Project: Commons Collections
          Issue Type: Improvement
          Components: Bag, BidiMap, Collection, List, Map, Set
    Affects Versions: 4.0-alpha1
            Reporter: Hollis Waite


Many Collection constructors copy input in order to self-populate. For convenience (and consistency with standard Java collections library), wildcarded parameters should be accepted where possible. Unmodifiable* classes might also benefit from less restrictive generic signatures.



--
This message was sent by Atlassian JIRA
(v6.1#6144)