bug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and #isColumnWithnRange methods

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795680 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2017-05-20 20:22:24 +00:00
parent 390444a3be
commit 4ff23197e9

View File

@ -320,14 +320,6 @@ public class CellReference {
return isRowWithinRange(rowStr, ssVersion);
}
/**
* @deprecated 3.15 beta 2. Use {@link #isColumnWithinRange}.
*/
@Deprecated
public static boolean isColumnWithnRange(String colStr, SpreadsheetVersion ssVersion) {
return isColumnWithinRange(colStr, ssVersion);
}
public static boolean isColumnWithinRange(String colStr, SpreadsheetVersion ssVersion) {
// Equivalent to 0 <= CellReference.convertColStringToIndex(colStr) <= ssVersion.getLastColumnIndex()
@ -350,14 +342,6 @@ public class CellReference {
return true;
}
/**
* @deprecated 3.15 beta 2. Use {@link #isRowWithinRange}
*/
@Deprecated
public static boolean isRowWithnRange(String rowStr, SpreadsheetVersion ssVersion) {
return isRowWithinRange(rowStr, ssVersion);
}
public static boolean isRowWithinRange(String rowStr, SpreadsheetVersion ssVersion) {
int rowNum = Integer.parseInt(rowStr) - 1;
return 0 <= rowNum && rowNum <= ssVersion.getLastRowIndex();