commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COLLECTIONS-675) Modify IteratorUtils.peekingIterator signature to return PeekingIterator
Date Thu, 22 Feb 2018 21:46:01 GMT

     [ https://issues.apache.org/jira/browse/COLLECTIONS-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory resolved COLLECTIONS-675.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.2

In Git master. Please verify and close this issue.

> 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)

Mime
View raw message