You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2006/06/27 17:43:30 UTC

[jira] Resolved: (VELOCITY-443) Velocity 1.4 does not support Iterable collections.

     [ http://issues.apache.org/jira/browse/VELOCITY-443?page=all ]
     
Henning Schmiedehausen resolved VELOCITY-443:
---------------------------------------------

    Fix Version: 1.6
     Resolution: Later

Postponed to post-1.5.

> Velocity 1.4 does not support Iterable collections.
> ---------------------------------------------------
>
>          Key: VELOCITY-443
>          URL: http://issues.apache.org/jira/browse/VELOCITY-443
>      Project: Velocity
>         Type: Improvement

>     Versions: 1.4
>  Environment: Java 5
>     Reporter: Peter Lawrey
>     Assignee: Henning Schmiedehausen
>     Priority: Minor
>      Fix For: 1.6

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org