remove deprecated functions (since 2008)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2015-12-04 06:30:34 +00:00
parent 5a8aceec32
commit 293ef9fe17
2 changed files with 21 additions and 2 deletions

View File

@ -2539,4 +2539,25 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet {
public int getColumnOutlineLevel(int columnIndex) { public int getColumnOutlineLevel(int columnIndex) {
return _sheet.getColumnOutlineLevel(columnIndex); return _sheet.getColumnOutlineLevel(columnIndex);
} }
/**
* {@inheritDoc}
*/
@Override
public CellAddress getActiveCell() {
int row = _sheet.getActiveCellRow();
int col = _sheet.getActiveCellCol();
return new CellAddress(row, col);
}
/**
* {@inheritDoc}
*/
@Override
public void setActiveCell(CellAddress addr) {
int row = addr.getRow();
short col = (short) addr.getColumn();
_sheet.setActiveCellRow(row);
_sheet.setActiveCellCol(col);
}
} }

View File

@ -413,8 +413,6 @@ public final class TestHSSFCell extends BaseTestCell {
// cover some deprecated methods and other smaller stuff... // cover some deprecated methods and other smaller stuff...
assertEquals(wb.getWorkbook(), cell.getBoundWorkbook()); assertEquals(wb.getWorkbook(), cell.getBoundWorkbook());
cell.getCellNum();
cell.setCellNum((short)0);
try { try {
cell.getCachedFormulaResultType(); cell.getCachedFormulaResultType();