From 46977210eea3320fdd2bb5a7b9095812b36c7360 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 8 Dec 2020 23:46:49 +0000 Subject: [PATCH] remove some deprecated code git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884225 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/ss/util/SheetUtil.java | 9 --------- .../org/apache/poi/xwpf/usermodel/TestXWPFRun.java | 1 - 2 files changed, 10 deletions(-) diff --git a/src/java/org/apache/poi/ss/util/SheetUtil.java b/src/java/org/apache/poi/ss/util/SheetUtil.java index dcedf03a14..1fb06f98c1 100644 --- a/src/java/org/apache/poi/ss/util/SheetUtil.java +++ b/src/java/org/apache/poi/ss/util/SheetUtil.java @@ -93,15 +93,6 @@ public class SheetUtil { public void evaluateAll() {} @Override public CellType evaluateFormulaCell(Cell cell) { return cell.getCachedFormulaResultType(); } - /** - * @since POI 3.15 beta 3 - * @deprecated POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. - */ - @Deprecated - @Removal(version = "4.2") - @Internal(since="POI 3.15 beta 3") - @Override - public CellType evaluateFormulaCellEnum(Cell cell) { return evaluateFormulaCell(cell); } }; /** diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java index b91e0a5891..b154f37d41 100644 --- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java +++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java @@ -716,7 +716,6 @@ public class TestXWPFRun { rpr.addNewVertAlign().setVal(STVerticalAlignRun.SUBSCRIPT); XWPFRun run = new XWPFRun(ctRun, irb); - assertEquals(VerticalAlign.SUBSCRIPT, run.getSubscript()); run.setSubscript(VerticalAlign.BASELINE); assertEquals(STVerticalAlignRun.BASELINE, rpr.getVertAlign().getVal()); -- 2.39.5