Author: fanningpj
Date: Sun Jul  2 17:12:55 2017
New Revision: 1800569

URL: http://svn.apache.org/viewvc?rev=1800569&view=rev
Log:
Add missing deprecations for CellType methods that return ints

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

Modified: 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java?rev=1800569&r1=1800568&r2=1800569&view=diff
==============================================================================
--- 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java 
(original)
+++ 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationCell.java 
Sun Jul  2 17:12:55 2017
@@ -57,6 +57,7 @@ final class SXSSFEvaluationCell implemen
      * 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 implemen
      * 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() {

Modified: 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java?rev=1800569&r1=1800568&r2=1800569&view=diff
==============================================================================
--- 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java 
(original)
+++ 
poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationCell.java 
Sun Jul  2 17:12:55 2017
@@ -102,6 +102,7 @@ final class XSSFEvaluationCell implement
         * 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() {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org
For additional commands, e-mail: commits-h...@poi.apache.org

Reply via email to