[ https://jira.codehaus.org/browse/MNG-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=358431#comment-358431 ]
Michael Osipov commented on MNG-5568: ------------------------------------- 1. You should not make assumptions about the implementation. 2. You can always use {{ListIterator}} which gives you the ability to reverse iterate a list. Does this sound better? > ComparableVersion's breaks contract for Comparable, in some edgecases the > comparisons are not transitive > -------------------------------------------------------------------------------------------------------- > > Key: MNG-5568 > URL: https://jira.codehaus.org/browse/MNG-5568 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 3.0.5 > Reporter: Milos Kleint > Assignee: Herve Boutemy > Priority: Critical > Fix For: 3.2.4 > > Attachments: ComparableVersion.patch > > > if ComparableVersion A > B and B > C, then it's required that A > C. In the > attached test patch, I'm demonstrating a case where it's failing. Please note > that the situation is not that rare, please see issues > https://netbeans.org/bugzilla/show_bug.cgi?id=226100 and > https://netbeans.org/bugzilla/show_bug.cgi?id=240845 at netbeans.org and > https://jira.codehaus.org/browse/MPIR-247 -- This message was sent by Atlassian JIRA (v6.1.6#6162)