velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r489650 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
Date Fri, 22 Dec 2006 13:31:59 GMT
Author: cbrisson
Date: Fri Dec 22 05:31:58 2006
New Revision: 489650

URL: http://svn.apache.org/viewvc?view=rev&rev=489650
Log:
removing redondant arg eval in ASTMethod (and testing my commit rights ;)

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java?view=diff&rev=489650&r1=489649&r2=489650
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
(original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
Fri Dec 22 05:31:58 2006
@@ -181,9 +181,6 @@
                  *  cache it
                  */
 
-                for (int j = 0; j < paramCount; j++)
-                    params[j] = jjtGetChild(j + 1).value(context);
-
                 method = rsvc.getUberspect().getMethod(o, methodName, params, new Info(context.getCurrentTemplateName(),
getLine(), getColumn()));
 
                 if ((method != null) && (o != null))



Mime
View raw message