]> source.dussan.org Git - poi.git/commitdiff
remove some deprecated code
authorPJ Fanning <fanningpj@apache.org>
Tue, 8 Dec 2020 23:46:49 +0000 (23:46 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 8 Dec 2020 23:46:49 +0000 (23:46 +0000)
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
src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java

index dcedf03a14e9ed5dea2dc5dab64942773b77d85d..1fb06f98c1be996551b591d88eb4f3c642bee036 100644 (file)
@@ -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); }
     };
 
     /**
index b91e0a58916c403f91c91b04e713210b25bb49a0..b154f37d4106bae33349615db4dcad1c63b3062e 100644 (file)
@@ -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());