poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fannin...@apache.org
Subject svn commit: r1853787 - in /poi/trunk/src: java/org/apache/poi/ss/formula/WorkbookEvaluator.java java/org/apache/poi/ss/formula/functions/ArrayFunction.java testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java
Date Mon, 18 Feb 2019 09:56:11 GMT
Author: fanningpj
Date: Mon Feb 18 09:56:11 2019
New Revision: 1853787

URL: http://svn.apache.org/viewvc?rev=1853787&view=rev
Log:
[bug-63187] fix typos

Modified:
    poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
    poi/trunk/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java
    poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java

Modified: poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java?rev=1853787&r1=1853786&r2=1853787&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java Mon Feb 18 09:56:11
2019
@@ -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()
+ "'");
     }
     
     /**

Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java?rev=1853787&r1=1853786&r2=1853787&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/ArrayFunction.java Mon Feb 18 09:56:11
2019
@@ -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;

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java?rev=1853787&r1=1853786&r2=1853787&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java Mon
Feb 18 09:56:11 2019
@@ -98,7 +98,7 @@ public final class TestHSSFFormulaEvalua
 	        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;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message