Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-443

Velocity 1.4 does not support Iterable collections.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Java 5

      Description

      In the new for loop in Java 5 e.g.

      for(Object obj: iterable)

      the collection iterated only needs to be of type Iterable

      However, In Velocity a foreach loop must be either a Collection or a Map but cannot be just an Iterable.

      Suggestion, support Iterable containers.

        Attachments

          Activity

            People

            • Assignee:
              nbubna Nathan Bubna
              Reporter:
              peter_lawrey Peter Lawrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: