diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-07-02 17:12:55 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-07-02 17:12:55 +0000 |
commit | 7557a4a6a3eee68a0939fd3a299bfc9833088e19 (patch) | |
tree | ccbe47dab9122d638dbeab8c6037453ece3ccef6 | |
parent | 32a337f1d1322f6414e697e01a1fd95af373497f (diff) | |
download | poi-7557a4a6a3eee68a0939fd3a299bfc9833088e19.tar.gz poi-7557a4a6a3eee68a0939fd3a299bfc9833088e19.zip |
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
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java | 2 | ||||
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java | 1 |
2 files changed, 3 insertions, 0 deletions
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() { |