You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2015/06/04 22:19:37 UTC

[jira] [Created] (COLLECTIONS-566) IteratorUtils.collatedIterator do not use natural ordering if no comparator was provided

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)