Fix accidental call to a method added in Java 7, which for some reason Eclipse didn't flag, even with compliance level set to 1.6.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783022 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82244c3aae
commit
64f9c52a7d
@ -213,9 +213,9 @@ public class EvaluationConditionalFormatRule implements Comparable<EvaluationCon
|
||||
cmp = (x < y) ? -1 : ((x == y) ? 0 : 1);
|
||||
if (cmp != 0) return cmp;
|
||||
|
||||
cmp = Integer.compare(getFormattingIndex(), o.getFormattingIndex());
|
||||
cmp = new Integer(getFormattingIndex()).compareTo(new Integer(o.getFormattingIndex()));
|
||||
if (cmp != 0) return cmp;
|
||||
return Integer.compare(getRuleIndex(), o.getRuleIndex());
|
||||
return new Integer(getRuleIndex()).compareTo(new Integer(o.getRuleIndex()));
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
|
Loading…
Reference in New Issue
Block a user