/** @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 <code>int</code>s to <code>FormulaType</code>s. */
+ /**
+ * @since POI 3.15 beta 3.
+ * @deprecated POI 3.15 beta 3. Used to transition code from <code>int</code>s to <code>FormulaType</code>s.
+ */
public static FormulaType forInt(int code) {
for (FormulaType type : values()) {
if (type.code == code) {
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),
*/
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 <code>int</code>s to <code>CellType</code>s. */
+ /**
+ * @since POI 3.15 beta 3.
+ * @deprecated POI 3.15 beta 3. Used to transition code from <code>int</code>s to <code>CellType</code>s.
+ */
public static CellType forInt(int code) {
for (CellType type : values()) {
if (type.code == code) {
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;
}