mirror of https://github.com/apache/poi.git
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
b9a2479f92
commit
05e3c83e08
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue