Removed TODO, as the current API is fine imho: two versions, one for Iterable, one for Iterator.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-05-12 16:58:49 +00:00
parent 709aa7bf9c
commit a86de44927
1 changed files with 0 additions and 1 deletions

View File

@ -1033,7 +1033,6 @@ public class CollectionUtils {
* @throws NullPointerException if the output collection is null and both, inputCollection and
* transformer are not null
*/
//TODO - deprecate and replace with IteratorIterable
public static <I, O, R extends Collection<? super O>> R collect(final Iterator<? extends I> inputIterator,
final Transformer<? super I, ? extends O> transformer, final R outputCollection) {
if (inputIterator != null && transformer != null) {