[
https://issues.apache.org/jira/browse/OAK-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-147.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.3
Fixed in revision 1352808.
> Incorrect Comparator in CommitBuilder.persistStagedNodes
> --------------------------------------------------------
>
> Key: OAK-147
> URL: https://issues.apache.org/jira/browse/OAK-147
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mk
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.3
>
>
> The comparator in .mk.model.CommitBuilder.persistStagedNodes does not fulfill
> the general Comparator contract (most notably: compare(X, X) == 0), which
> every now and then causes the Collections.sort() method to throw exceptions
> about unexpected comparison behavior.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira