aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/test
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-06-28 11:55:29 +0000
committerPJ Fanning <fanningpj@apache.org>2023-06-28 11:55:29 +0000
commit273067b10390b40d1ebb09f9092f68a73ee171d8 (patch)
tree21314fcb2eae6b5e05d2d785d7824caf224271d3 /poi/src/test
parentf331d08c228538a48c1aa9f00f63af2f1daee91d (diff)
downloadpoi-273067b10390b40d1ebb09f9092f68a73ee171d8.tar.gz
poi-273067b10390b40d1ebb09f9092f68a73ee171d8.zip
apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src/test')
-rw-r--r--poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java2
-rw-r--r--poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java b/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java
index d2a1b791d1..743e5eeca2 100644
--- a/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java
+++ b/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java
@@ -39,7 +39,7 @@ final class TestLinkedDataRecord {
The first record links to the series title (linkType = 0). It's
reference type is 1 which means that it links directly to data entered
- into the forumula bar. There seems to be no reference to any data
+ into the formula bar. There seems to be no reference to any data
however. The formulaOfLink field contains two 0 bytes. This probably
means that there is no particular heading set.
diff --git a/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java b/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java
index 6e5f0645df..56ac92f641 100644
--- a/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java
+++ b/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java
@@ -168,8 +168,8 @@ public final class ExcelFileFormatDocFunctionExtractor {
_groupFunctionNames = new HashSet<>();
}
- public void addFuntion(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams,
- String returnClass, String paramClasses, String volatileFlagStr) {
+ public void addFunction(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams,
+ String returnClass, String paramClasses, String volatileFlagStr) {
boolean isVolatile = volatileFlagStr.length() > 0;
Integer funcIxKey = Integer.valueOf(funcIx);
@@ -360,7 +360,7 @@ public final class ExcelFileFormatDocFunctionExtractor {
String paramClasses = cellData[i + 5];
String volatileFlagStr = cellData[i + 6];
- _fdc.addFuntion(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr);
+ _fdc.addFunction(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr);
}
private static int parseInt(String valStr) {