[ http://issues.apache.org/jira/browse/VELOCITY-443?page=comments#action_12418052 ]
Henning Schmiedehausen commented on VELOCITY-443: ------------------------------------------------- Velocity 1.x is currently not using any JDK5 features. This is not planned to be changed for 1.5 but I will look into this definitely after 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 > Priority: Minor > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
