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:
parent
390444a3be
commit
4ff23197e9
@ -320,14 +320,6 @@ public class CellReference {
|
|||||||
return isRowWithinRange(rowStr, ssVersion);
|
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) {
|
public static boolean isColumnWithinRange(String colStr, SpreadsheetVersion ssVersion) {
|
||||||
// Equivalent to 0 <= CellReference.convertColStringToIndex(colStr) <= ssVersion.getLastColumnIndex()
|
// Equivalent to 0 <= CellReference.convertColStringToIndex(colStr) <= ssVersion.getLastColumnIndex()
|
||||||
|
|
||||||
@ -350,14 +342,6 @@ public class CellReference {
|
|||||||
return true;
|
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) {
|
public static boolean isRowWithinRange(String rowStr, SpreadsheetVersion ssVersion) {
|
||||||
int rowNum = Integer.parseInt(rowStr) - 1;
|
int rowNum = Integer.parseInt(rowStr) - 1;
|
||||||
return 0 <= rowNum && rowNum <= ssVersion.getLastRowIndex();
|
return 0 <= rowNum && rowNum <= ssVersion.getLastRowIndex();
|
||||||
|
Loading…
Reference in New Issue
Block a user