[ http://issues.apache.org/jira/browse/VELOCITY-443?page=comments#action_12418270 ]
Henning Schmiedehausen commented on VELOCITY-443: ------------------------------------------------- Ah well, that is what a Hackathon is for. I've added an implementation of a JDK 5 Uberspect to the whiteboard for addition post Velocity 1.5 If you desperately need it, get the current trunk from SVN and get the JDK15UberspectImpl (all ~20 lines of it) from the whiteboard/henning/jdk15 directory. > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
