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] [Updated] (COLLECTIONS-676) Modify IteratorUtils.pushbackIterator signature to return PushbackIterator
Date Thu, 22 Feb 2018 21:49:00 GMT

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

Gary Gregory updated COLLECTIONS-676:
-------------------------------------
    Description: The {{IteratorUtils.pushbackIterator ()}} signature currently says it returns
{{java.util.Iterator}}, which requires casts or assumptions in order to make use of {{pushback()}}
method.  (was: IteratorUtils.pushbackIterator currently says it returns java.util.Iterator)

> Modify IteratorUtils.pushbackIterator signature to return PushbackIterator
> --------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-676
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-676
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Core, Iterator
>    Affects Versions: 4.1
>            Reporter: Matthew Knight
>            Priority: Trivial
>              Labels: signature
>
> The {{IteratorUtils.pushbackIterator ()}} signature currently says it returns {{java.util.Iterator}},
which requires casts or assumptions in order to make use of {{pushback()}} method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message