Menu

#22 addAll(Collection,Enumeration) shouldn't be deprecated

open
nobody
None
5
2007-11-16
2007-11-16
No

CollectionUtils.addAll(Collection,Enumeration) shouldn't be deprecated.
That, or the documentation for why its deprecated should be improved.

I see no way that Collection#addAll(Collection) does anything for adding an Enumeration to a collection. Unless you used EnumerationIterator, but I don't think that would be a reasonable basis for deprecating addAll.

The @deprecate on CollectionUtils.addAll was introduced in SVN revision 13.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB