diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-06-30 13:00:57 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-06-30 13:00:57 +0000 |
commit | a420b9090603d46364051710ed74517ad11f5c27 (patch) | |
tree | fa857042ce549d5d6daf3b1662ac1c07f56ac9d7 /src/java | |
parent | 0dff17384fa77ebf9124952ca7c4fdad128742fb (diff) | |
download | poi-a420b9090603d46364051710ed74517ad11f5c27.tar.gz poi-a420b9090603d46364051710ed74517ad11f5c27.zip |
Remove more deprecated code (MissingCellPolicy)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800400 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/poi/ss/usermodel/Row.java | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/src/java/org/apache/poi/ss/usermodel/Row.java b/src/java/org/apache/poi/ss/usermodel/Row.java index f58775704c..71defe2e7c 100644 --- a/src/java/org/apache/poi/ss/usermodel/Row.java +++ b/src/java/org/apache/poi/ss/usermodel/Row.java @@ -19,8 +19,6 @@ package org.apache.poi.ss.usermodel; import java.util.Iterator; -import org.apache.poi.util.Removal; - /** * High level representation of a row of a spreadsheet. */ @@ -237,46 +235,10 @@ public interface Row extends Iterable<Cell> { * if for the case of null and blank cells */ public enum MissingCellPolicy { - RETURN_NULL_AND_BLANK(1), - RETURN_BLANK_AS_NULL(2), - CREATE_NULL_AS_BLANK(3); - - /** - * @deprecated as of POI 3.15-beta2, scheduled for removal in 3.17 - the id has no function and will be removed. - * The {@code id} is only kept only for backwards compatibility with applications that hard-coded the number - */ - @Removal(version="3.17") - @Deprecated - public final int id; - private MissingCellPolicy(int id) { - this.id = id; - } + RETURN_NULL_AND_BLANK, + RETURN_BLANK_AS_NULL, + CREATE_NULL_AS_BLANK; } - - /** - * Missing cells are returned as null, Blank cells are returned as normal - * - * @deprecated as of POI 3.15-beta2, scheduled for removal in 3.17 - use the MissingCellPolicy enum - **/ - @Removal(version="3.17") - @Deprecated - public static final MissingCellPolicy RETURN_NULL_AND_BLANK = MissingCellPolicy.RETURN_NULL_AND_BLANK; - /** - * Missing cells and blank cells are returned as null - * - * @deprecated as of POI 3.15-beta2, scheduled for removal in 3.17 - use the MissingCellPolicy enum - **/ - @Removal(version="3.17") - @Deprecated - public static final MissingCellPolicy RETURN_BLANK_AS_NULL = MissingCellPolicy.RETURN_BLANK_AS_NULL; - /** - * A new, blank cell is created for missing cells. Blank cells are returned as normal - * - * @deprecated as of POI 3.15-beta2, scheduled for removal in 3.17 - use the MissingCellPolicy enum - **/ - @Removal(version="3.17") - @Deprecated - public static final MissingCellPolicy CREATE_NULL_AS_BLANK = MissingCellPolicy.CREATE_NULL_AS_BLANK; /** * Returns the rows outline level. Increased as you |