[bug-63187] fix typos

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2019-02-18 09:56:11 +00:00
parent 48bf645360
commit 37ff2b7fb2
3 changed files with 5 additions and 5 deletions

View File

@ -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() + "'");
}
/**

View File

@ -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;

View File

@ -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;