aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-11-02 16:37:12 +0000
committerJaven O'Neal <onealj@apache.org>2016-11-02 16:37:12 +0000
commit29c0fcf9415b494e788036bd510ec6135217e169 (patch)
tree90cf4f7a156a80c41894f9c2b1ffe9027c7909af /src/testcases/org
parentc6f959bebbeb03fa7358512b3b6c53ae051362b6 (diff)
downloadpoi-29c0fcf9415b494e788036bd510ec6135217e169.tar.gz
poi-29c0fcf9415b494e788036bd510ec6135217e169.zip
bug 60331: remove deprecated FormulaShifter.createForRowShift(). Require SpreadsheetVersion.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java b/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java
index 1f378ccd54..7353682521 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java
@@ -276,9 +276,8 @@ public final class TestFormulaShifter {
}
@Test
- @SuppressWarnings("deprecation")
public void testConstructor() {
- assertNotNull(FormulaShifter.createForRowShift(1, "name", 1, 2, 2));
+ assertNotNull(FormulaShifter.createForRowShift(1, "name", 1, 2, 2, SpreadsheetVersion.EXCEL97));
}
@Test