You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/08/01 04:52:03 UTC
svn commit: r799791 -
/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java
Author: sebb
Date: Sat Aug 1 02:52:03 2009
New Revision: 799791
URL: http://svn.apache.org/viewvc?rev=799791&view=rev
Log:
jexl=> JEXL, Jexl, jexl
Modified:
commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java
Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java?rev=799791&r1=799790&r2=799791&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java (original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngineFactory.java Sat Aug 1 02:52:03 2009
@@ -28,6 +28,11 @@
/**
* Implements the Jexl ScriptEngineFactory for JSF-223.
* <p>
+ * Supports the following:<br.>
+ * Language short names: "JEXL", "Jexl", "jexl" <br/>
+ * Extension: "jexl"
+ * </p>
+ * <p>
* See
* <a href="http://java.sun.com/javase/6/docs/api/javax/script/package-summary.html">Java Scripting API</a>
* Javadoc.
@@ -41,16 +46,16 @@
Arrays.asList("application/x-jexl"));
private final List<String> names = Collections.unmodifiableList(
- Arrays.asList( "jexl" ));
+ Arrays.asList( "JEXL", "Jexl", "jexl" ));
/** {@inheritDoc} */
public String getEngineName() {
- return "Jexl Engine";
+ return "JEXL Engine";
}
/** {@inheritDoc} */
public String getEngineVersion() {
- return "1.0";
+ return "1.0"; // ensure this is updated if function changes are made to this class
}
/** {@inheritDoc} */
@@ -60,7 +65,7 @@
/** {@inheritDoc} */
public String getLanguageName() {
- return "Jexl";
+ return "JEXL";
}
/** {@inheritDoc} */