diff options
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java | 6 |
2 files changed, 4 insertions, 4 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; |