bug 60228: getCellTypeEnum should not be deprecated until after getCellType returns a CellType enum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63da9f8d19
commit
370aa27bf2
@ -457,7 +457,6 @@ public class HSSFCell implements Cell {
|
|||||||
/**
|
/**
|
||||||
* get the cells type (numeric, formula or string)
|
* get the cells type (numeric, formula or string)
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@ -1167,7 +1166,6 @@ public class HSSFCell implements Cell {
|
|||||||
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
||||||
* on the cached value of the formula
|
* on the cached value of the formula
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@ -176,7 +176,6 @@ public interface Cell {
|
|||||||
*
|
*
|
||||||
* @return the cell type
|
* @return the cell type
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be renamed to <code>getCellType()</code> when we make the CellType enum transition in POI 4.0. See bug 59791.
|
* Will be renamed to <code>getCellType()</code> when we make the CellType enum transition in POI 4.0. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Removal(version="4.2")
|
@Removal(version="4.2")
|
||||||
@ -201,7 +200,6 @@ public interface Cell {
|
|||||||
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
||||||
* on the cached value of the formula
|
* on the cached value of the formula
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be renamed to <code>getCachedFormulaResultType()</code> when we make the CellType enum transition in POI 4.0. See bug 59791.
|
* Will be renamed to <code>getCachedFormulaResultType()</code> when we make the CellType enum transition in POI 4.0. See bug 59791.
|
||||||
*/
|
*/
|
||||||
CellType getCachedFormulaResultTypeEnum();
|
CellType getCachedFormulaResultTypeEnum();
|
||||||
|
@ -162,6 +162,7 @@ public class SXSSFCell implements Cell {
|
|||||||
* Return the cell type.
|
* Return the cell type.
|
||||||
*
|
*
|
||||||
* @return the cell type
|
* @return the cell type
|
||||||
|
* @deprecated 3.15. Will return a {@link CellType} enum in the future.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int getCellType()
|
public int getCellType()
|
||||||
@ -174,10 +175,8 @@ public class SXSSFCell implements Cell {
|
|||||||
*
|
*
|
||||||
* @return the cell type
|
* @return the cell type
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Internal(since="POI 3.15 beta 3")
|
|
||||||
@Override
|
@Override
|
||||||
public CellType getCellTypeEnum()
|
public CellType getCellTypeEnum()
|
||||||
{
|
{
|
||||||
@ -189,6 +188,7 @@ public class SXSSFCell implements Cell {
|
|||||||
* @return one of ({@link CellType#NUMERIC}, {@link CellType#STRING},
|
* @return one of ({@link CellType#NUMERIC}, {@link CellType#STRING},
|
||||||
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
||||||
* on the cached value of the formula
|
* on the cached value of the formula
|
||||||
|
* @deprecated 3.15. Will return a {@link CellType} enum in the future.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int getCachedFormulaResultType()
|
public int getCachedFormulaResultType()
|
||||||
@ -202,10 +202,8 @@ public class SXSSFCell implements Cell {
|
|||||||
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
||||||
* on the cached value of the formula
|
* on the cached value of the formula
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3.
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Internal(since="POI 3.15 beta 3")
|
|
||||||
@Override
|
@Override
|
||||||
public CellType getCachedFormulaResultTypeEnum()
|
public CellType getCachedFormulaResultTypeEnum()
|
||||||
{
|
{
|
||||||
|
@ -680,10 +680,8 @@ public final class XSSFCell implements Cell {
|
|||||||
*
|
*
|
||||||
* @return the cell type
|
* @return the cell type
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Internal(since="POI 3.15 beta 3")
|
|
||||||
@Override
|
@Override
|
||||||
public CellType getCellTypeEnum() {
|
public CellType getCellTypeEnum() {
|
||||||
if (isFormulaCell()) return CellType.FORMULA;
|
if (isFormulaCell()) return CellType.FORMULA;
|
||||||
@ -713,7 +711,6 @@ public final class XSSFCell implements Cell {
|
|||||||
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
* {@link CellType#BOOLEAN}, {@link CellType#ERROR}) depending
|
||||||
* on the cached value of the formula
|
* on the cached value of the formula
|
||||||
* @since POI 3.15 beta 3
|
* @since POI 3.15 beta 3
|
||||||
* @deprecated POI 3.15 beta 3
|
|
||||||
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
* Will be deleted when we make the CellType enum transition. See bug 59791.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user