commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r799750 - /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java
Date Fri, 31 Jul 2009 21:20:06 GMT
Author: rahul
Date: Fri Jul 31 21:20:03 2009
New Revision: 799750

URL: http://svn.apache.org/viewvc?rev=799750&view=rev
Log:
Fix compilation failure (when trying 'mvn package' with JDK 1.6).

Modified:
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java?rev=799750&r1=799749&r2=799750&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java
(original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/scripting/JexlScriptEngine.java
Fri Jul 31 21:20:03 2009
@@ -182,7 +182,7 @@
 
         public Object put(final Object key, final Object value) {
             Bindings bnd = context.getBindings(ScriptContext.ENGINE_SCOPE);
-            return bnd.put(key, value);
+            return bnd.put(String.valueOf(key), value);
         }
 
         public void putAll(Map t) {



Mime
View raw message