Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4
-
None
-
None
-
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.