diff options
author | Dominik Stadler <centic@apache.org> | 2016-01-13 15:59:38 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-01-13 15:59:38 +0000 |
commit | f1db033d6dd7bb133adbe69e8ed5247a5d423de6 (patch) | |
tree | 5b98bf25f1be17715c6a039d96606de306bb9581 /src/testcases/org/apache/poi/ss/formula/eval | |
parent | 97ee1476443b49001aada242d794030670835a67 (diff) | |
download | poi-f1db033d6dd7bb133adbe69e8ed5247a5d423de6.tar.gz poi-f1db033d6dd7bb133adbe69e8ed5247a5d423de6.zip |
Bug 58829: Remove some useages of printStackTrace() and some other minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/formula/eval')
-rw-r--r-- | src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java b/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java index 5057c41150..7493ffd087 100644 --- a/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java +++ b/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java @@ -24,12 +24,12 @@ import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.hssf.util.AreaReference; -import org.apache.poi.hssf.util.CellReference; import org.apache.poi.ss.formula.TwoDEval; import org.apache.poi.ss.formula.ptg.AreaI; import org.apache.poi.ss.formula.ptg.AreaI.OffsetArea; import org.apache.poi.ss.usermodel.CellValue; +import org.apache.poi.ss.util.AreaReference; +import org.apache.poi.ss.util.CellReference; /** * Test for unary plus operator evaluator. @@ -54,7 +54,8 @@ public final class TestRangeEval extends TestCase { createRefEval(refA), createRefEval(refB), }; - AreaReference ar = new AreaReference(expectedAreaRef); + @SuppressWarnings("deprecation") + AreaReference ar = new AreaReference(expectedAreaRef); ValueEval result = EvalInstances.Range.evaluate(args, 0, (short)0); assertTrue(result instanceof AreaEval); AreaEval ae = (AreaEval) result; |