[ https://issues.apache.org/jira/browse/COLLECTIONS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart resolved COLLECTIONS-566.
-----------------------------------------
Resolution: Fixed
Fixed in r1683631.
> 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)
|