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());