diff options
author | Dominik Stadler <centic@apache.org> | 2019-01-22 10:00:01 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2019-01-22 10:00:01 +0000 |
commit | b5fe208770bb58cf47fc1b02d883da1711d3c193 (patch) | |
tree | adc8957b22d9d52820dc621c1e6bb91eddd28084 /src/testcases | |
parent | 5a758864b5b8aba1e26547f4c0090567530031dc (diff) | |
download | poi-b5fe208770bb58cf47fc1b02d883da1711d3c193.tar.gz poi-b5fe208770bb58cf47fc1b02d883da1711d3c193.zip |
Fix some IDE warnings and JVM deprecations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851795 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r-- | src/testcases/org/apache/poi/ss/util/TestCellReference.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/ss/util/TestCellReference.java b/src/testcases/org/apache/poi/ss/util/TestCellReference.java index 686f2b40ce..71e2218fef 100644 --- a/src/testcases/org/apache/poi/ss/util/TestCellReference.java +++ b/src/testcases/org/apache/poi/ss/util/TestCellReference.java @@ -380,10 +380,9 @@ public final class TestCellReference { //noinspection ObjectEqualsNull assertNotEquals("null", null, ref1); assertNotEquals("3D vs 2D", ref1, new CellReference("A5")); - //noinspection EqualsBetweenInconvertibleTypes - assertNotEquals("type", ref1, new Integer(0)); + assertNotEquals("type", ref1, 0L); } - + @Test public void isRowWithinRange() { SpreadsheetVersion ss = SpreadsheetVersion.EXCEL2007; |