]> source.dussan.org Git - poi.git/commitdiff
Add missing deprecations for CellType methods that return ints
authorPJ Fanning <fanningpj@apache.org>
Sun, 2 Jul 2017 17:12:55 +0000 (17:12 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 2 Jul 2017 17:12:55 +0000 (17:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800569 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java

index 8c11e8b8b1db0b25a765910ae508395d93c3cecf..10d20a5f1256261a1538a173fc2ec82a2aa4cae3 100644 (file)
@@ -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() {
index 129052e79ca9bd02509371112851f05905e4be78..975eed87001fbcf4fe5f408ecdc2d880c46a5399 100644 (file)
@@ -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() {