From: Javen O'Neal Date: Wed, 19 Oct 2016 07:43:18 +0000 (+0000) Subject: remove @deprecated annotation from Enum-returning getters. These will be deprecated... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a73df780704a74f28603400c26e2016f18dbcef8;p=poi.git remove @deprecated annotation from Enum-returning getters. These will be deprecated after the int-returning getters are removed. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765545 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java b/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java index 6cd19f5bf1..74872de75f 100644 --- a/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java +++ b/src/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java @@ -183,7 +183,6 @@ public abstract class BaseFormulaEvaluator implements FormulaEvaluator, Workbook * @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 POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. */ @Override public CellType evaluateFormulaCellEnum(Cell cell) { diff --git a/src/java/org/apache/poi/ss/usermodel/CellValue.java b/src/java/org/apache/poi/ss/usermodel/CellValue.java index b10210882a..78636d989f 100644 --- a/src/java/org/apache/poi/ss/usermodel/CellValue.java +++ b/src/java/org/apache/poi/ss/usermodel/CellValue.java @@ -89,10 +89,8 @@ public final class CellValue { * * @return the cell type * @since POI 3.15 - * @deprecated POI 3.15 * Will be renamed to getCellTypeEnum() when we make the CellType enum transition in POI 4.0. See bug 59791. */ - @Internal(since="POI 3.15 beta 3") @Removal(version="4.2") public CellType getCellTypeEnum() { return _cellType; diff --git a/src/java/org/apache/poi/ss/usermodel/FormulaEvaluator.java b/src/java/org/apache/poi/ss/usermodel/FormulaEvaluator.java index 357bd073a6..44908e9c19 100644 --- a/src/java/org/apache/poi/ss/usermodel/FormulaEvaluator.java +++ b/src/java/org/apache/poi/ss/usermodel/FormulaEvaluator.java @@ -125,9 +125,7 @@ public interface FormulaEvaluator { * or one of {@link CellType#NUMERIC}, {@link CellType#STRING}, * {@link CellType#BOOLEAN}, {@link CellType#ERROR} * Note: the cell's type remains as CellType.FORMULA however. - * @deprecated POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. */ - @Internal(since="POI 3.15 beta 3") CellType evaluateFormulaCellEnum(Cell cell); /**