diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java index 841daa6d33..79d6291d3f 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java @@ -43,7 +43,7 @@ final class HSSFEvaluationSheet implements EvaluationSheet { * @see org.apache.poi.ss.formula.EvaluationSheet#getlastRowNum() * @since POI 4.0.0 */ - public int getlastRowNum() { + public int getLastRowNum() { return _lastDefinedRow; } diff --git a/src/java/org/apache/poi/ss/formula/EvaluationSheet.java b/src/java/org/apache/poi/ss/formula/EvaluationSheet.java index e155d0f68f..6c8a5e3351 100644 --- a/src/java/org/apache/poi/ss/formula/EvaluationSheet.java +++ b/src/java/org/apache/poi/ss/formula/EvaluationSheet.java @@ -48,5 +48,5 @@ public interface EvaluationSheet { * @return last row index referenced on this sheet, for evaluation optimization * @since POI 4.0.0 */ - public int getlastRowNum(); + public int getLastRowNum(); } diff --git a/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java b/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java index 18e88a8be9..0bb94659ee 100644 --- a/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java +++ b/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java @@ -183,7 +183,7 @@ final class FormulaUsedBlankCellSet { BlankCellSheetGroup result = _sheetGroupsByBookSheet.get(key); if (result == null) { - result = new BlankCellSheetGroup(evalWorkbook.getSheet(sheetIndex).getlastRowNum()); + result = new BlankCellSheetGroup(evalWorkbook.getSheet(sheetIndex).getLastRowNum()); _sheetGroupsByBookSheet.put(key, result); } return result; diff --git a/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationSheet.java b/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationSheet.java index 698fda5649..9a8f5a49a3 100644 --- a/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationSheet.java +++ b/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationSheet.java @@ -57,8 +57,8 @@ final class ForkedEvaluationSheet implements EvaluationSheet { * @see org.apache.poi.ss.formula.EvaluationSheet#getlastRowNum() * @since POI 4.0.0 */ - public int getlastRowNum() { - return _masterSheet.getlastRowNum(); + public int getLastRowNum() { + return _masterSheet.getLastRowNum(); } @Override diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationSheet.java index ccb685690c..f32f665c8b 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFEvaluationSheet.java @@ -42,7 +42,7 @@ final class SXSSFEvaluationSheet implements EvaluationSheet { * @see org.apache.poi.ss.formula.EvaluationSheet#getlastRowNum() * @since POI 4.0.0 */ - public int getlastRowNum() { + public int getLastRowNum() { return _lastDefinedRow; } diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java index debb6c5dcb..39ef51f37b 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java @@ -49,7 +49,7 @@ final class XSSFEvaluationSheet implements EvaluationSheet { * @see org.apache.poi.ss.formula.EvaluationSheet#getlastRowNum() * @since POI 4.0.0 */ - public int getlastRowNum() { + public int getLastRowNum() { return _lastDefinedRow; }