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/11/27 22:12:14 UTC
[jira] [Closed] (COLLECTIONS-566) IteratorUtils.collatedIterator do
not use natural ordering if no comparator was provided
[ https://issues.apache.org/jira/browse/COLLECTIONS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart closed COLLECTIONS-566.
---------------------------------------
> 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)