You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2020/06/27 13:58:24 UTC

svn commit: r1879276 - in /poi/trunk/src: java/org/apache/poi/ss/usermodel/ java/org/apache/poi/ss/usermodel/charts/ testcases/org/apache/poi/ss/formula/functions/ testcases/org/apache/poi/ss/usermodel/charts/

Author: fanningpj
Date: Sat Jun 27 13:58:23 2020
New Revision: 1879276

URL: http://svn.apache.org/viewvc?rev=1879276&view=rev
Log:
remove some deprecated classes

Removed:
    poi/trunk/src/java/org/apache/poi/ss/usermodel/Chart.java
    poi/trunk/src/java/org/apache/poi/ss/usermodel/charts/
    poi/trunk/src/testcases/org/apache/poi/ss/usermodel/charts/
Modified:
    poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java
    poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAreas.java

Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java?rev=1879276&r1=1879275&r2=1879276&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java Sat Jun 27 13:58:23 2020
@@ -18,7 +18,6 @@
 package org.apache.poi.ss.usermodel;
 
 import org.apache.poi.ss.formula.eval.ErrorEval;
-import org.apache.poi.util.Removal;
 
 /**
  * Mimics the 'data view' of a cell. This allows formula evaluator
@@ -27,7 +26,7 @@ import org.apache.poi.util.Removal;
  */
 public final class CellValue {
 	public static final CellValue TRUE = new CellValue(CellType.BOOLEAN, 0.0, true,  null, 0);
-	public static final CellValue FALSE= new CellValue(CellType.BOOLEAN, 0.0, false, null, 0);
+	public static final CellValue FALSE = new CellValue(CellType.BOOLEAN, 0.0, false, null, 0);
 
 	private final CellType _cellType;
 	private final double _numberValue;
@@ -83,17 +82,6 @@ public final class CellValue {
 		return _textValue;
 	}
 
-    /**
-     * Return the cell type.
-     *
-     * @return the cell type
-     * @since POI 3.15
-     * @deprecated use <code>getCellType</code> instead
-     */
-    @Deprecated
-    @Removal(version="4.2")
-    public CellType getCellTypeEnum() { return getCellType(); }
-
 	/**
 	 * Return the cell type.
 	 *

Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAreas.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAreas.java?rev=1879276&r1=1879275&r2=1879276&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAreas.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAreas.java Sat Jun 27 13:58:23 2020
@@ -54,7 +54,7 @@ public final class TestAreas {
         cell.setCellFormula(formulaText);
         fe.notifyUpdateCell(cell);
         CellValue result = fe.evaluate(cell);
-        assertEquals(result.getCellTypeEnum(), CellType.NUMERIC);
+        assertEquals(result.getCellType(), CellType.NUMERIC);
         assertEquals(expectedResult, result.getNumberValue(), 0);
     }
 }



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