From: PJ Fanning Date: Tue, 8 Dec 2020 23:46:49 +0000 (+0000) Subject: remove some deprecated code X-Git-Tag: before_ooxml_3rd_edition~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=46977210eea3320fdd2bb5a7b9095812b36c7360;p=poi.git remove some deprecated code git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884225 13f79535-47bb-0310-9956-ffa450edef68 --- 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());