aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2019-01-22 10:00:01 +0000
committerDominik Stadler <centic@apache.org>2019-01-22 10:00:01 +0000
commitb5fe208770bb58cf47fc1b02d883da1711d3c193 (patch)
treeadc8957b22d9d52820dc621c1e6bb91eddd28084 /src/testcases
parent5a758864b5b8aba1e26547f4c0090567530031dc (diff)
downloadpoi-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.java5
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;