diff options
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFRow.java | 22 | ||||
-rw-r--r-- | src/java/org/apache/poi/ss/usermodel/Row.java | 22 |
2 files changed, 1 insertions, 43 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFRow.java b/src/java/org/apache/poi/hssf/usermodel/HSSFRow.java index 4ca64ea8fc..c0eb9bd20a 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFRow.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFRow.java @@ -113,27 +113,7 @@ public final class HSSFRow implements Row, Comparable<HSSFRow> { { return this.createCell(column,CellType.BLANK); } - - /** - * Use this to create new cells within the row and return it. - * <p> - * The cell that is returned will be of the requested type. - * The type can be changed either through calling setCellValue - * or setCellType, but there is a small overhead to doing this, - * so it is best to create the required type up front. - * - * @param columnIndex - the column number this cell represents - * - * @return HSSFCell a high level representation of the created cell. - * @throws IllegalArgumentException if columnIndex < 0 or greater than 255, - * the maximum number of columns supported by the Excel binary format (.xls) - * @deprecated POI 3.15 beta 3 - */ - @Override - public HSSFCell createCell(int columnIndex, int type) - { - return createCell(columnIndex, CellType.forInt(type)); - } + /** * Use this to create new cells within the row and return it. * <p> diff --git a/src/java/org/apache/poi/ss/usermodel/Row.java b/src/java/org/apache/poi/ss/usermodel/Row.java index 20507fe0e3..3595cd65ef 100644 --- a/src/java/org/apache/poi/ss/usermodel/Row.java +++ b/src/java/org/apache/poi/ss/usermodel/Row.java @@ -50,28 +50,6 @@ public interface Row extends Iterable<Cell> { * @return Cell a high level representation of the created cell. * @throws IllegalArgumentException if columnIndex < 0 or greater than a maximum number of supported columns * (255 for *.xls, 1048576 for *.xlsx) - * @see CellType#BLANK - * @see CellType#BOOLEAN - * @see CellType#ERROR - * @see CellType#FORMULA - * @see CellType#NUMERIC - * @see CellType#STRING - * @deprecated POI 3.15 beta 3. Use {@link #createCell(int, CellType)} instead. - */ - Cell createCell(int column, int type); - /** - * Use this to create new cells within the row and return it. - * <p> - * The cell that is returned will be of the requested type. - * The type can be changed either through calling setCellValue - * or setCellType, but there is a small overhead to doing this, - * so it is best to create of the required type up front. - * - * @param column - the column number this cell represents - * @param type - the cell's data type - * @return Cell a high level representation of the created cell. - * @throws IllegalArgumentException if columnIndex < 0 or greater than a maximum number of supported columns - * (255 for *.xls, 1048576 for *.xlsx) */ Cell createCell(int column, CellType type); |