[
https://issues.apache.org/jira/browse/SLIDER-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177070#comment-14177070
]
ASF subversion and git services commented on SLIDER-543:
--------------------------------------------------------
Commit 21781c18091c0ae825a932868a863a229bfabe58 in incubator-slider's branch
refs/heads/develop from [~tedyu]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=21781c1 ]
SLIDER-543 Usage of Integer.compare() doesn't compile on jdk 1.6
> 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)