aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-12-08 23:30:40 +0000
committerPJ Fanning <fanningpj@apache.org>2020-12-08 23:30:40 +0000
commite4d6fc0a7fd8cc68f2ca56123df15569e15880d0 (patch)
tree9be97c0f71133b596ee38fefa35207c02553a40d /src/java/org/apache/poi/ss
parent8f13c071217299bb0fc90e42edef8c78cb2484f4 (diff)
downloadpoi-e4d6fc0a7fd8cc68f2ca56123df15569e15880d0.tar.gz
poi-e4d6fc0a7fd8cc68f2ca56123df15569e15880d0.zip
remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884223 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ss')
-rw-r--r--src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java b/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java
index ee0615057d..f9ec1e839d 100644
--- a/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java
+++ b/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java
@@ -27,7 +27,6 @@ import org.apache.poi.ss.usermodel.RichTextString;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
-import org.apache.poi.util.Removal;
/**
* Common functionality across file formats for evaluating formula cells.<p>
@@ -187,34 +186,6 @@ public abstract class BaseFormulaEvaluator implements FormulaEvaluator, Workbook
setCellValue(cell, cv);
return cv.getCellType();
}
-
- /**
- * If cell contains formula, it evaluates the formula,
- * and saves the result of the formula. The cell
- * remains as a formula cell.
- * Else if cell does not contain formula, this method leaves
- * the cell unchanged.
- * Note that the type of the formula result is returned,
- * so you know what kind of value is also stored with
- * the formula.
- * <pre>
- * CellType evaluatedCellType = evaluator.evaluateFormulaCell(cell);
- * </pre>
- * Be aware that your cell will hold both the formula,
- * and the result. If you want the cell replaced with
- * the result of the formula, use {@link #evaluate(org.apache.poi.ss.usermodel.Cell)} }
- * @param cell The cell to evaluate
- * @return The type of the formula result (the cell's type remains as CellType.FORMULA however)
- * If cell is not a formula cell, returns {@link CellType#_NONE} rather than throwing an exception.
- * @since POI 3.15 beta 3
- * @deprecated use <code>evaluateFormulaCell(cell)</code> instead
- */
- @Deprecated
- @Removal(version = "4.2")
- @Override
- public CellType evaluateFormulaCellEnum(Cell cell) {
- return evaluateFormulaCell(cell);
- }
/**
* set the cell type