[ 
https://issues.apache.org/jira/browse/VELOCITY-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-65.
------------------------------------------


> Iterator warnings sometimes inappropriate
> -----------------------------------------
>
>                 Key: VELOCITY-65
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-65
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.2
>         Environment: Operating System: other
> Platform: All
>            Reporter: Steven Hugg
>         Assigned To: Velocity-Dev List
>            Priority: Minor
>
> There are a lot of warnings about Iterators in #foreach directives.  But 
> sometimes the warnings don't apply.  Isn't it safe if you just do:
> #foreach($foo in $listOfFoos.elements())
> ...
> #end
> I think the only time a warning should be generated is if you #set a variable 
> to an iterator or if you pass the Iterator to a method. (any others?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to