commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEANUTILS-292) ResultSetDynaClass should implement Iterable
Date Tue, 07 Aug 2007 09:51:59 GMT
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


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message