From cbd17b93200c270f1ca1e34f2472257daab9fc61 Mon Sep 17 00:00:00 2001 From: Greg Woolsey Date: Wed, 6 Dec 2017 23:53:25 +0000 Subject: [PATCH] #61841 fix typo in method name Fixing the typo pointed out by PJ Fanning, thanks for the proof read! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1817325 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java | 2 +- src/java/org/apache/poi/ss/formula/EvaluationSheet.java | 2 +- .../org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java | 2 +- .../poi/ss/formula/eval/forked/ForkedEvaluationSheet.java | 4 ++-- .../org/apache/poi/xssf/streaming/SXSSFEvaluationSheet.java | 2 +- .../org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationSheet.java index 841daa6d3..79d6291d3 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 e155d0f68..6c8a5e335 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 18e88a8be..0bb94659e 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 698fda564..9a8f5a49a 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 ccb685690..f32f665c8 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 debb6c5dc..39ef51f37 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; }