commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1536198 - /commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
Date Sun, 27 Oct 2013 20:33:21 GMT
Author: oheger
Date: Sun Oct 27 20:33:21 2013
New Revision: 1536198

URL: http://svn.apache.org/r1536198
Log:
Generified ResultSetDynaClass.

Modified:
    commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java

Modified: commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java?rev=1536198&r1=1536197&r2=1536198&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
(original)
+++ commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
Sun Oct 27 20:33:21 2013
@@ -190,7 +190,7 @@ public class ResultSetDynaClass extends 
      * should be called only once.</p>
      * @return An <code>Iterator</code> of {@link DynaBean} instances
      */
-    public Iterator iterator() {
+    public Iterator<DynaBean> iterator() {
 
         return (new ResultSetIterator(this));
 
@@ -236,7 +236,7 @@ public class ResultSetDynaClass extends 
      * @throws SQLException if the class cannot be loaded
      */
     @Override
-    protected Class loadClass(String className) throws SQLException {
+    protected Class<?> loadClass(String className) throws SQLException {
 
         try {
             return getClass().getClassLoader().loadClass(className);



Mime
View raw message