aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2019-02-18 09:56:11 +0000
committerPJ Fanning <fanningpj@apache.org>2019-02-18 09:56:11 +0000
commit37ff2b7fb24114750383cf4c5d0fa56f3e1a7aba (patch)
treeed75914438f93382c2403da2d24b7149879cc169 /src
parent48bf64536091be6f3e737aeff1819d57513ea30c (diff)
downloadpoi-37ff2b7fb24114750383cf4c5d0fa56f3e1a7aba.tar.gz
poi-37ff2b7fb24114750383cf4c5d0fa56f3e1a7aba.zip
[bug-63187] fix typos
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java2
-rw-r--r--src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java6
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
index bab3e4e66e..7fed473011 100644
--- a/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
+++ b/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
@@ -766,7 +766,7 @@ public final class WorkbookEvaluator {
return evaluateNameFormula(nameRecord.getNameDefinition(), ec);
}
- throw new RuntimeException("Don't now how to evaluate name '" + nameRecord.getNameText() + "'");
+ throw new RuntimeException("Don't know how to evaluate name '" + nameRecord.getNameText() + "'");
}
/**
diff --git a/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java b/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java
index 7f8a359d3a..0e842fc5c9 100644
--- a/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java
+++ b/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java
@@ -112,7 +112,7 @@ public interface ArrayFunction {
} catch (EvaluationException e) {
vA = e.getErrorEval();
} catch (RuntimeException e) {
- if(e.getMessage().startsWith("Don't now how to evaluate name")){
+ if(e.getMessage().startsWith("Don't know how to evaluate name")){
vA = ErrorEval.NAME_INVALID;
} else {
throw e;
@@ -126,7 +126,7 @@ public interface ArrayFunction {
} catch (EvaluationException e) {
vB = e.getErrorEval();
} catch (RuntimeException e) {
- if(e.getMessage().startsWith("Don't now how to evaluate name")){
+ if(e.getMessage().startsWith("Don't know how to evaluate name")){
vB = ErrorEval.NAME_INVALID;
} else {
throw e;
@@ -189,7 +189,7 @@ public interface ArrayFunction {
} catch (EvaluationException e) {
vA = e.getErrorEval();
} catch (RuntimeException e) {
- if(e.getMessage().startsWith("Don't now how to evaluate name")){
+ if(e.getMessage().startsWith("Don't know how to evaluate name")){
vA = ErrorEval.NAME_INVALID;
} else {
throw e;
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java
index 150fa83891..daae2cc6e4 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java
@@ -98,7 +98,7 @@ public final class TestHSSFFormulaEvaluator extends BaseTestFormulaEvaluator {
assertEquals(5.33, value.getNumberValue(), 0.0);
} catch (RuntimeException e) {
- if (e.getMessage().equals("Don't now how to evalate name 'Is_Multicar_Vehicle'")) {
+ if (e.getMessage().equals("Don't know how to evaluate name 'Is_Multicar_Vehicle'")) {
fail("Identified bug 47048a");
}
throw e;