commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1788575 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java
Date Sat, 25 Mar 2017 00:07:25 GMT
Author: ebourg
Date: Sat Mar 25 00:07:25 2017
New Revision: 1788575

URL: http://svn.apache.org/viewvc?rev=1788575&view=rev
Log:
Removed an unnecessary type cast

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java?rev=1788575&r1=1788574&r2=1788575&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/Script.java
Sat Mar 25 00:07:25 2017
@@ -188,7 +188,7 @@ public class Script implements JexlScrip
     @Override
     public Object execute(JexlContext context) {
         checkCacheVersion();
-        Scope.Frame frame = createFrame((Object[]) null);
+        Scope.Frame frame = createFrame(null);
         Interpreter interpreter = createInterpreter(context, frame);
         return interpreter.interpret(script);
     }



Mime
View raw message