commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1135713 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java
Date Tue, 14 Jun 2011 17:26:33 GMT
Author: sebb
Date: Tue Jun 14 17:26:33 2011
New Revision: 1135713

URL: http://svn.apache.org/viewvc?rev=1135713&view=rev
Log:
Unnecessary cast

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java?rev=1135713&r1=1135712&r2=1135713&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/Interpreter.java Tue
Jun 14 17:26:33 2011
@@ -1069,7 +1069,7 @@ public class Interpreter implements Pars
     }
 
     public Object visit(ASTReferenceExpression node, Object data) {
-        ASTArrayAccess upper = (ASTArrayAccess) node;
+        ASTArrayAccess upper = node;
         return visit(upper, data);
     }
 



Mime
View raw message