Velocity
  1. Velocity
  2. VELOCITY-219

Velocity list operator should return a Java List reference rather than ArrayList reference

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      In the 1.x releases of Velocity, the list operator [] returns an ArrayList
      reference instead of a List reference. In the future (2.x), a cleaner API would
      be to return a List reference.

        Activity

        Daniel Rall created issue -
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 24203 12315089
        Will Glass-Husain made changes -
        Environment Operating System: All
        Platform: All
        Operating System: All
        Platform: All
        Bugzilla Id 24203
        Description In the 1.x releases of Velocity, the list operator [] returns an ArrayList
        reference instead of a List reference. In the future (2.x), a cleaner API would
        be to return a List reference.
        In the 1.x releases of Velocity, the list operator [] returns an ArrayList
        reference instead of a List reference. In the future (2.x), a cleaner API would
        be to return a List reference.
        Assignee Velocity-Dev List [ velocity-dev@jakarta.apache.org ]
        Fix Version/s 2.0 [ 12310291 ]
        Henning Schmiedehausen made changes -
        Fix Version/s 2.0 [ 12310291 ]
        Component/s Source [ 12310214 ]
        Bugzilla Id 24203
        Component/s Engine [ 12311337 ]
        Fix Version/s 1.5 [ 12310253 ]
        Henning Schmiedehausen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Henning Schmiedehausen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12325094 ] Default workflow, editable Closed status [ 12551876 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551876 ] jira [ 12552667 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel Rall
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development