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:
parent
709aa7bf9c
commit
a86de44927
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue