commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r800425 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
Date Mon, 03 Aug 2009 15:29:34 GMT
Author: sebb
Date: Mon Aug  3 15:29:33 2009
New Revision: 800425

URL: http://svn.apache.org/viewvc?rev=800425&view=rev
Log:
Type-safety fix

Modified:
    commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java?rev=800425&r1=800424&r2=800425&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
Mon Aug  3 15:29:33 2009
@@ -256,7 +256,7 @@
      * is passed, the empty collection is used.
      */
     public void setFunctions(Map<String, Object> funcs) {
-        functions = funcs != null ? funcs : Collections.EMPTY_MAP;
+        functions = funcs != null ? funcs : Collections.<String, Object>emptyMap();
     }
 
     /**



Mime
View raw message