From 7d044b046a36f44540cde696f64add23d16a5854 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Fri, 7 May 2004 23:29:02 +0000 Subject: [PATCH] Change to UniquePredicate to avoid indirect references via PredicateUtils git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131707 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/iterators/UniqueFilterIterator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java b/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java index 3e921d915..2b273a763 100644 --- a/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java +++ b/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java @@ -17,7 +17,7 @@ package org.apache.commons.collections.iterators; import java.util.Iterator; -import org.apache.commons.collections.PredicateUtils; +import org.apache.commons.collections.functors.UniquePredicate; /** * A FilterIterator which only returns "unique" Objects. Internally, @@ -25,7 +25,7 @@ import org.apache.commons.collections.PredicateUtils; * and duplicate Objects are skipped. * * @since Commons Collections 2.1 - * @version $Revision: 1.8 $ $Date: 2004/02/18 00:59:50 $ + * @version $Revision: 1.9 $ $Date: 2004/05/07 23:29:02 $ * * @author Morgan Delagrange */ @@ -39,7 +39,7 @@ public class UniqueFilterIterator extends FilterIterator { * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { - super(iterator, PredicateUtils.uniquePredicate()); + super(iterator, UniquePredicate.getInstance()); } }