[ 
https://issues.apache.org/jira/browse/VELOCITY-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527956
 ] 

Will Glass-Husain commented on VELOCITY-534:
--------------------------------------------

I like it.  Useful extension, easy to understand, works well with existing 
syntax.  Makes sense to factor out methods from MethodMap into 
IntrospectionUtils as well.

FYI.  A related thing I've always wanted to see is the ability to use 
expressions in method calls.  

> Support varargs in method calls
> -------------------------------
>
>                 Key: VELOCITY-534
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-534
>             Project: Velocity
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: Nathan Bubna
>             Fix For: 1.6, 2.0
>
>         Attachments: varargs.2.diff
>
>
> If possible and as much as possible without breaking JDK 1.3/JDK 1.4 runtime 
> support, i would like to see us support varargs for method calls.  So,
> public class MyTool {
>     public List combine(List... lists) {
>         ...
>     }
> }
> #set( $twoLists = $myTool.combine($list1, $list2) )
> #set( $threeLists = $myTool.combine($list1, $list2, $list3) )
> will work out of the box, without need for the user to rebuild Velocity 
> themselves.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to