aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-11-09 19:45:03 +0000
committerPJ Fanning <fanningpj@apache.org>2021-11-09 19:45:03 +0000
commit02f36cf4fdf608c95afbb8875deb26e857f1978d (patch)
tree3530ef29742356cef38568b04eae58040d9bd664 /poi/src
parent458369a64d2764b673def8f516aef2addb5d84fb (diff)
downloadpoi-02f36cf4fdf608c95afbb8875deb26e857f1978d.tar.gz
poi-02f36cf4fdf608c95afbb8875deb26e857f1978d.zip
[bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
-rw-r--r--poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java2
-rw-r--r--poi/src/main/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java4
-rw-r--r--poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestXEvaluationSheet.java1
3 files changed, 4 insertions, 3 deletions
diff --git a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
index f1beee7569..79aa8dc374 100644
--- a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
+++ b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
@@ -926,7 +926,7 @@ public final class WorkbookEvaluator {
* Whether to ignore missing references to external workbooks and
* use cached formula results in the main workbook instead.
* <p>
- * In some cases exetrnal workbooks referenced by formulas in the main workbook are not avaiable.
+ * In some cases external workbooks referenced by formulas in the main workbook are not available.
* With this method you can control how POI handles such missing references:
* <ul>
* <li>by default ignoreMissingWorkbooks=false and POI throws {@link WorkbookNotFoundException}
diff --git a/poi/src/main/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java b/poi/src/main/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java
index e73093a716..c7b55780f6 100644
--- a/poi/src/main/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java
+++ b/poi/src/main/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java
@@ -33,8 +33,8 @@ import org.apache.poi.util.LittleEndianOutput;
public abstract class RefPtgBase extends OperandPtg {
/**
- * YK: subclasses of RefPtgBase are used by the FormulaParser and FormulaEvaluator accross HSSF and XSSF.
- * The bit mask should accommodate the maximum number of avaiable columns, i.e. 0x3FFF.
+ * YK: subclasses of RefPtgBase are used by the FormulaParser and FormulaEvaluator across HSSF and XSSF.
+ * The bit mask should accommodate the maximum number of available columns, i.e. 0x3FFF.
*
* @see org.apache.poi.ss.SpreadsheetVersion
*/
diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestXEvaluationSheet.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestXEvaluationSheet.java
index 08fbae584e..c1a02f3aaa 100644
--- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestXEvaluationSheet.java
+++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestXEvaluationSheet.java
@@ -46,4 +46,5 @@ public abstract class BaseTestXEvaluationSheet {
underlyingSheet.removeRow(underlyingSheet.getRow(2));
assertEquals(1, instance.getLastRowNum());
}
+
}