[Prev] Thread [Next]  |  [Prev] Date [Next]

[jira] [Created] (VELOCITY-820) foreach support for Closeable Iterator Robert Fuller (Created) (JIRA) Thu Mar 15 10:01:51 2012

foreach support for Closeable Iterator

                 Key: VELOCITY-820
                 URL: https://issues.apache.org/jira/browse/VELOCITY-820
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
            Reporter: Robert Fuller
            Priority: Minor
         Attachments: foreach.diff

would be nice if #foreach would do close the iterator if it implements 
Closeable. This will allow better resource management when using foreach to do 
things like run sql queries, etc.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
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]