This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git
The following commit(s) were added to refs/heads/2.3-gae by this push:
new 5718cf3 (Typo fix in error message and test name)
5718cf3 is described below
commit 5718cf3facb0650da9c07036f31dce9e4ce4eef1
Author: ddekany <[email protected]>
AuthorDate: Sun Oct 25 22:39:17 2020 +0100
(Typo fix in error message and test name)
---
src/main/java/freemarker/core/DynamicKeyName.java | 2 +-
src/test/java/freemarker/ext/beans/ParameterListPreferabilityTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/freemarker/core/DynamicKeyName.java
b/src/main/java/freemarker/core/DynamicKeyName.java
index b651f38..ec46af2 100644
--- a/src/main/java/freemarker/core/DynamicKeyName.java
+++ b/src/main/java/freemarker/core/DynamicKeyName.java
@@ -150,7 +150,7 @@ final class DynamicKeyName extends Expression {
"sequence or " +
NonStringException.STRING_COERCABLE_TYPES_DESC,
NUMERICAL_KEY_LHO_EXPECTED_TYPES,
(targetModel instanceof TemplateHashModel
- ? "You had a numberical value inside the [].
Currently that's only supported for "
+ ? "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),
diff --git
a/src/test/java/freemarker/ext/beans/ParameterListPreferabilityTest.java
b/src/test/java/freemarker/ext/beans/ParameterListPreferabilityTest.java
index 66038c7..e2c3976 100644
--- a/src/test/java/freemarker/ext/beans/ParameterListPreferabilityTest.java
+++ b/src/test/java/freemarker/ext/beans/ParameterListPreferabilityTest.java
@@ -37,7 +37,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.