From: Javen O'Neal Date: Sat, 20 May 2017 20:22:24 +0000 (+0000) Subject: bug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and #isColumnW... X-Git-Tag: REL_3_17_BETA1~67 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=05e3c83e08cdf934891f40d22ff7f9da390ef6b6;p=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 --- diff --git a/src/java/org/apache/poi/ss/util/CellReference.java b/src/java/org/apache/poi/ss/util/CellReference.java index 01054ca29c..e53165146e 100644 --- a/src/java/org/apache/poi/ss/util/CellReference.java +++ b/src/java/org/apache/poi/ss/util/CellReference.java @@ -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();