[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878350#comment-13878350
 ] 

Hudson commented on BOOKKEEPER-720:
-----------------------------------

SUCCESS: Integrated in bookkeeper-trunk #521 (See 
[https://builds.apache.org/job/bookkeeper-trunk/521/])
BOOKKEEPER-720: CheckpointSource.MIN#compareTo does exactly the opposite of 
what it should (ivank via sijie) (sijie: rev 1560263)
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* 
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/CheckpointSource.java


> 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