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 fce1a12  JEXL-235: update engine version to 3.3;
fce1a12 is described below

commit fce1a12486f1753f3e63e6575e3b5e0917ab822f
Author: henrib <hen...@apache.org>
AuthorDate: Wed Feb 9 16:21:43 2022 +0100

    JEXL-235: update engine version to 3.3;
---
 .../apache/commons/jexl3/scripting/JexlScriptEngineFactory.java    | 7 ++++++-
 .../org/apache/commons/jexl3/scripting/JexlScriptEngineTest.java   | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/jexl3/scripting/JexlScriptEngineFactory.java 
b/src/main/java/org/apache/commons/jexl3/scripting/JexlScriptEngineFactory.java
index 578c553..760b8a3 100644
--- 
a/src/main/java/org/apache/commons/jexl3/scripting/JexlScriptEngineFactory.java
+++ 
b/src/main/java/org/apache/commons/jexl3/scripting/JexlScriptEngineFactory.java
@@ -17,9 +17,14 @@
 
 package org.apache.commons.jexl3.scripting;
 
+import java.io.IOException;
+import java.net.URL;
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.Enumeration;
 import java.util.List;
+import java.util.jar.Attributes;
+import java.util.jar.Manifest;
 
 import javax.script.ScriptEngine;
 import javax.script.ScriptEngineFactory;
@@ -49,7 +54,7 @@ public class JexlScriptEngineFactory implements 
ScriptEngineFactory {
 
     @Override
     public String getEngineVersion() {
-        return "3.2"; // ensure this is updated if function changes are made 
to this class
+        return "3.3"; // ensure this is updated if function changes are made 
to this class
     }
 
     @Override
diff --git 
a/src/test/java/org/apache/commons/jexl3/scripting/JexlScriptEngineTest.java 
b/src/test/java/org/apache/commons/jexl3/scripting/JexlScriptEngineTest.java
index 99d1368..365754f 100644
--- a/src/test/java/org/apache/commons/jexl3/scripting/JexlScriptEngineTest.java
+++ b/src/test/java/org/apache/commons/jexl3/scripting/JexlScriptEngineTest.java
@@ -45,7 +45,7 @@ public class JexlScriptEngineTest {
     public void testScriptEngineFactory() throws Exception {
         final JexlScriptEngineFactory factory = new JexlScriptEngineFactory();
         Assert.assertEquals("JEXL Engine", 
factory.getParameter(ScriptEngine.ENGINE));
-        Assert.assertEquals("3.2", 
factory.getParameter(ScriptEngine.ENGINE_VERSION));
+        Assert.assertEquals("3.3", 
factory.getParameter(ScriptEngine.ENGINE_VERSION));
         Assert.assertEquals("JEXL", 
factory.getParameter(ScriptEngine.LANGUAGE));
         Assert.assertEquals("3.2", 
factory.getParameter(ScriptEngine.LANGUAGE_VERSION));
         Assert.assertNull(factory.getParameter("THREADING"));

Reply via email to