Allow a broader range of inputs for a UniqueFilterIterator.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-05-05 20:31:06 +00:00
parent 081b62ef8d
commit 077913c7e9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class UniqueFilterIterator<E> extends FilterIterator<E> {
*
* @param iterator the iterator to use
*/
public UniqueFilterIterator(final Iterator<E> iterator) {
public UniqueFilterIterator(final Iterator<? extends E> iterator) {
super(iterator, UniquePredicate.uniquePredicate());
}