This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch 3
in repository https://gitbox.apache.org/repos/asf/freemarker.git


The following commit(s) were added to refs/heads/3 by this push:
     new c2368fd  (Typo fix in error message and test name)
c2368fd is described below

commit c2368fdf0b3089fe6117e62f1b52083207781262
Author: ddekany <[email protected]>
AuthorDate: Sun Oct 25 22:38:14 2020 +0100

    (Typo fix in error message and test name)
---
 .../freemarker/core/model/impl/ParameterListPreferabilityTest.java      | 2 +-
 .../src/main/java/org/apache/freemarker/core/ASTExpDynamicKeyName.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/freemarker-core-test/src/test/java/org/apache/freemarker/core/model/impl/ParameterListPreferabilityTest.java
 
b/freemarker-core-test/src/test/java/org/apache/freemarker/core/model/impl/ParameterListPreferabilityTest.java
index 826a65f..1b800f7 100644
--- 
a/freemarker-core-test/src/test/java/org/apache/freemarker/core/model/impl/ParameterListPreferabilityTest.java
+++ 
b/freemarker-core-test/src/test/java/org/apache/freemarker/core/model/impl/ParameterListPreferabilityTest.java
@@ -38,7 +38,7 @@ public class ParameterListPreferabilityTest extends TestCase {
         super(name);
     }
     
-    public void testNumberical() {
+    public void testNumerical() {
         // Note: the signature lists consists of the same elements, only their 
order changes depending on the type
         // of the argument value.
         
diff --git 
a/freemarker-core/src/main/java/org/apache/freemarker/core/ASTExpDynamicKeyName.java
 
b/freemarker-core/src/main/java/org/apache/freemarker/core/ASTExpDynamicKeyName.java
index d3cdf25..9e6087d 100644
--- 
a/freemarker-core/src/main/java/org/apache/freemarker/core/ASTExpDynamicKeyName.java
+++ 
b/freemarker-core/src/main/java/org/apache/freemarker/core/ASTExpDynamicKeyName.java
@@ -91,7 +91,7 @@ final class ASTExpDynamicKeyName extends ASTExpression {
                     "sequence or " + MessageUtils.STRING_COERCABLE_TYPES_DESC,
                     NUMERICAL_KEY_LHO_EXPECTED_TYPES,
                     (targetModel instanceof TemplateHashModel
-                            ? new Object[] { "You had a numberical value 
inside the []. Currently that's only "
+                            ? new Object[] { "You had a numerical value inside 
the []. Currently that's only "
                                     + "supported for sequences (lists) and 
strings. To get a Map item with a "
                                     + "non-string key, use 
myMap?api.get(myKey)." }
                             : null),

Reply via email to