You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/20 18:19:33 UTC

[jira] [Created] (SLIDER-543) Usage of Integer.compare() doesn't compile on jdk 1.6

Ted Yu created SLIDER-543:
-----------------------------

             Summary: Usage of Integer.compare() doesn't compile on jdk 1.6
                 Key: SLIDER-543
                 URL: https://issues.apache.org/jira/browse/SLIDER-543
             Project: Slider
          Issue Type: Bug
            Reporter: Ted Yu
            Assignee: Ted Yu


Here is the compilation error:
{code}
[ERROR] /home/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/src/main/java/org/apache/slider/server/appmaster/state/RoleStatus.java:[322,16] 1. ERROR in /home/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/src/main/java/org/apache/slider/server/appmaster/state/RoleStatus.java (at line 322)
[ERROR] return Integer.compare(o1.getKey(), o2.getKey());
[ERROR] ^^^^^^^
[ERROR] The method compare(int, int) is undefined for the type Integer
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)