You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2014/01/21 12:20:23 UTC

[jira] [Created] (BOOKKEEPER-720) CheckpointSource.MIN#compareTo does exactly the opposite of what it should

Ivan Kelly created BOOKKEEPER-720:
-------------------------------------

             Summary: 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


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)