From: PJ Fanning Date: Sun, 2 Jul 2017 17:12:55 +0000 (+0000) Subject: Add missing deprecations for CellType methods that return ints X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3cac752c8947f505429b69358a4e9a447acf6920;p=poi.git Add missing deprecations for CellType methods that return ints git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800569 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java index 8c11e8b8b1..10d20a5f12 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java @@ -57,6 +57,7 @@ final class SXSSFEvaluationCell implements EvaluationCell { * For forwards compatibility, do not hard-code cell type literals in your code. * * @return cell type + * @deprecated 3.17. Will return a {@link CellType} enum in the future. */ @Override public int getCellType() { @@ -101,6 +102,7 @@ final class SXSSFEvaluationCell implements EvaluationCell { * For forwards compatibility, do not hard-code cell type literals in your code. * * @return cell type of cached formula result + * @deprecated 3.17. Will return a {@link CellType} enum in the future. */ @Override public int getCachedFormulaResultType() { diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java index 129052e79c..975eed8700 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java @@ -102,6 +102,7 @@ final class XSSFEvaluationCell implements EvaluationCell { * For forwards compatibility, do not hard-code cell type literals in your code. * * @return cell type of cached formula result + * @deprecated 3.17. Will return a {@link CellType} enum in the future. */ @Override public int getCachedFormulaResultType() {