Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6, 2.x
    • Component/s: None
    • Labels:
      None

      Description

      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.

      1. varargs.2.diff
        30 kB
        Nathan Bubna

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Nathan Bubna
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development