diff --git a/src/java/org/apache/poi/ss/formula/FormulaType.java b/src/java/org/apache/poi/ss/formula/FormulaType.java index a26398b63..45d26ae88 100644 --- a/src/java/org/apache/poi/ss/formula/FormulaType.java +++ b/src/java/org/apache/poi/ss/formula/FormulaType.java @@ -57,14 +57,19 @@ public enum FormulaType { /** @deprecated POI 3.15 beta 3. */ private final int code; - /** @deprecated POI 3.15 beta 3. + /** + * @since POI 3.15 beta 3. + * @deprecated POI 3.15 beta 3. * Formula type code doesn't mean anything. Only in this class for transitioning from a class with int constants to a true enum. * Remove hard-coded numbers from the enums above. */ private FormulaType(int code) { this.code = code; } - /** @deprecated POI 3.15 beta 3. Used to transition code from ints to FormulaTypes. */ + /** + * @since POI 3.15 beta 3. + * @deprecated POI 3.15 beta 3. Used to transition code from ints to FormulaTypes. + */ public static FormulaType forInt(int code) { for (FormulaType type : values()) { if (type.code == code) { diff --git a/src/java/org/apache/poi/ss/usermodel/CellType.java b/src/java/org/apache/poi/ss/usermodel/CellType.java index d6ef7b321..1d31b8473 100644 --- a/src/java/org/apache/poi/ss/usermodel/CellType.java +++ b/src/java/org/apache/poi/ss/usermodel/CellType.java @@ -20,6 +20,9 @@ package org.apache.poi.ss.usermodel; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.util.Internal; +/** + * @since POI 3.15 beta 3 + */ public enum CellType { @Internal _UNINITIALIZED(-1), @@ -52,15 +55,24 @@ public enum CellType { */ ERROR(5); - /** @deprecated POI 3.15 beta 3 */ + /** + * @since POI 3.15 beta 3 + * @deprecated POI 3.15 beta 3 + */ private final int code; - /** @deprecated POI 3.15 beta 3 */ + /** + * @since POI 3.15 beta 3 + * @deprecated POI 3.15 beta 3 + */ private CellType(int code) { this.code = code; } - /** @deprecated POI 3.15 beta 3. Used to transition code from ints to CellTypes. */ + /** + * @since POI 3.15 beta 3. + * @deprecated POI 3.15 beta 3. Used to transition code from ints to CellTypes. + */ public static CellType forInt(int code) { for (CellType type : values()) { if (type.code == code) { @@ -70,7 +82,10 @@ public enum CellType { throw new IllegalArgumentException("Invalid CellType code: " + code); } - /** @deprecated POI 3.15 beta 3 */ + /** + * @since POI 3.15 beta 3 + * @deprecated POI 3.15 beta 3 + */ public int getCode() { return code; }