Author: tn
Date: Sun May 12 16:58:49 2013
New Revision: 1481606
URL: http://svn.apache.org/r1481606
Log:
Removed TODO, as the current API is fine imho: two versions, one for Iterable,
one for Iterator.
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java?rev=1481606&r1=1481605&r2=1481606&view=diff
==============================================================================
---
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
(original)
+++
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
Sun May 12 16:58:49 2013
@@ -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) {