This is an automated email from the ASF dual-hosted git repository.
henrib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/master by this push:
new 62927f5a JEXL-461 : add specific test that illustrates namespace
identifier feature usage
62927f5a is described below
commit 62927f5a1ab4cbefa1f16b93f6342a0175362417
Author: Henrib <[email protected]>
AuthorDate: Fri May 29 09:43:02 2026 +0200
JEXL-461 : add specific test that illustrates namespace identifier feature
usage
---
src/test/java/org/apache/commons/jexl3/Issues400Test.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/jexl3/Issues400Test.java
b/src/test/java/org/apache/commons/jexl3/Issues400Test.java
index 9da5fa64..96dd483c 100644
--- a/src/test/java/org/apache/commons/jexl3/Issues400Test.java
+++ b/src/test/java/org/apache/commons/jexl3/Issues400Test.java
@@ -1209,17 +1209,17 @@ public class Issues400Test {
}
}
- public static class Namespace461 {
+ public static class Namespace460 {
public static int func(int i) {
return i * 42;
}
}
@Test
- void test461() {
+ void test460() {
JexlFeatures f =
JexlFeatures.createDefault().namespaceIdentifier(true);
final JexlEngine jexl = new JexlBuilder()
- .namespaces(Collections.singletonMap("z", Namespace461.class))
+ .namespaces(Collections.singletonMap("z", Namespace460.class))
.features(f)
.create();