commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COLLECTIONS-566) IteratorUtils.collatedIterator do not use natural ordering if no comparator was provided
Date Thu, 04 Jun 2015 20:19:37 GMT
Thomas Neidhart created COLLECTIONS-566:
-------------------------------------------

             Summary: IteratorUtils.collatedIterator do not use natural ordering if no comparator
was provided
                 Key: COLLECTIONS-566
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-566
             Project: Commons Collections
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Thomas Neidhart
             Fix For: 4.1


In case a null comparator was provided natural ordering should be used, as stated in the javadoc.

In fact an exception is thrown the first time the returned iterator is used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message