aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-12-08 23:46:49 +0000
committerPJ Fanning <fanningpj@apache.org>2020-12-08 23:46:49 +0000
commit46977210eea3320fdd2bb5a7b9095812b36c7360 (patch)
treeaa1ec618683f7fee3aaa627ebddabbdc9d906f66 /src
parent4be65ef93a6b89e39138bf953243f41231d4f9cb (diff)
downloadpoi-46977210eea3320fdd2bb5a7b9095812b36c7360.tar.gz
poi-46977210eea3320fdd2bb5a7b9095812b36c7360.zip
remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884225 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/poi/ss/util/SheetUtil.java9
-rw-r--r--src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java1
2 files changed, 0 insertions, 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());