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} */