Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.8.0-BETA
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- requires
-
BEANUTILS-432 Switch to Java 1.5
- Resolved