[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    [jira] Resolved: (VELOCITY-534) Support varargs in method calls
From:       "Nathan Bubna (JIRA)" <dev () velocity ! apache ! org>
Date:       2007-09-17 18:43:43
Message-ID: 18633575.1190054623612.JavaMail.jira () brutus
[Download RAW message or body]


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

Nathan Bubna resolved VELOCITY-534.
-----------------------------------

    Resolution: Fixed

> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic