You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matthew Knight (JIRA)" <ji...@apache.org> on 2018/02/26 13:28:00 UTC
[jira] [Closed] (COLLECTIONS-675) Modify
IteratorUtils.peekingIterator signature to return PeekingIterator
[ https://issues.apache.org/jira/browse/COLLECTIONS-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Knight closed COLLECTIONS-675.
--------------------------------------
Verified changes in git master.
> Modify IteratorUtils.peekingIterator signature to return PeekingIterator
> ------------------------------------------------------------------------
>
> Key: COLLECTIONS-675
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-675
> Project: Commons Collections
> Issue Type: Improvement
> Components: Core, Iterator
> Affects Versions: 4.1
> Reporter: Matthew Knight
> Priority: Trivial
> Labels: signature
> Fix For: 4.2
>
>
> The {{IteratorUtils.peekingIterator()}} signature currently says it returns {{java.util.Iterator}}, which requires casts or assumptions in order to make use of {{peek()}} method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)