[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Kelly updated BOOKKEEPER-720:
----------------------------------

    Attachment: 0001-BOOKKEEPER-720-CheckpointSource.MIN-compareTo-does-e.patch

Fix is trivial.

> CheckpointSource.MIN#compareTo does exactly the opposite of what it should
> --------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-720
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-720
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.3.0
>
>         Attachments: 
> 0001-BOOKKEEPER-720-CheckpointSource.MIN-compareTo-does-e.patch
>
>
> CheckpointSource.MIN#compareTo returns 1 which means that "this" is greater 
> than the passed argument (see java.util.Comparable javadoc). It should return 
> -1. 
> This hasn't been a problem, because MIN isn't currently used anywhere.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to