[
https://issues.apache.org/jira/browse/BEANUTILS-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601619#comment-13601619
]
Benedikt Ritter commented on BEANUTILS-292:
-------------------------------------------
Java 5 is now available. Time to fix this :)
> ResultSetDynaClass should implement Iterable
> --------------------------------------------
>
> Key: BEANUTILS-292
> URL: https://issues.apache.org/jira/browse/BEANUTILS-292
> Project: Commons BeanUtils
> Issue Type: Improvement
> Affects Versions: 1.8.0-BETA
> Reporter: Johan
> Priority: Minor
> Fix For: LATER THAN 1.8.4
>
>
> org.apache.commons.beanutils.ResultSetDynaClass already provides an
> iterator() method. If it would implement the Iterable interface too, it could
> be used with the new Java5 for loop construct, e.g.:
> for (final Object dynaBean : new ResultSetDynaClass(resultSet, false))
> {
> }
> Changes to ResultSetDynaClass are minimal and will not break the API.
--
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