commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Knight (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COLLECTIONS-675) Modify IteratorUtils.peekingIterator signature to return PeekingIterator
Date Wed, 21 Feb 2018 12:23:00 GMT

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

Matthew Knight updated COLLECTIONS-675:
---------------------------------------
    Labels: signature  (was: )

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