commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1171752 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java
Date Fri, 16 Sep 2011 20:08:31 GMT
Author: simonetripodi
Date: Fri Sep 16 20:08:31 2011
New Revision: 1171752

URL: http://svn.apache.org/viewvc?rev=1171752&view=rev
Log:
removed trailing spaces

Modified:
    commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java

Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java?rev=1171752&r1=1171751&r2=1171752&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java
(original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/ResultSetIterator.java
Fri Sep 16 20:08:31 2011
@@ -26,7 +26,7 @@ import java.util.Iterator;
  * when you want to present a non-database application layer with domain
  * neutral data.
  * </p>
- * 
+ *
  * <p>
  * This implementation requires the <code>ResultSet.isLast()</code> method
  * to be implemented.
@@ -38,7 +38,7 @@ public class ResultSetIterator implement
      * The wrapped <code>ResultSet</code>.
      */
     private final ResultSet rs;
-    
+
     /**
      * The processor to use when converting a row into an Object[].
      */
@@ -51,11 +51,11 @@ public class ResultSetIterator implement
     public ResultSetIterator(ResultSet rs) {
         this(rs, new BasicRowProcessor());
     }
-    
+
     /**
      * Constructor for ResultSetIterator.
      * @param rs Wrap this <code>ResultSet</code> in an <code>Iterator</code>.
-     * @param convert The processor to use when converting a row into an 
+     * @param convert The processor to use when converting a row into an
      * <code>Object[]</code>.  Defaults to a 
      * <code>BasicRowProcessor</code>.
      */
@@ -81,7 +81,7 @@ public class ResultSetIterator implement
     /**
      * Returns the next row as an <code>Object[]</code>.
      * @return An <code>Object[]</code> with the same number of elements as
-     * columns in the <code>ResultSet</code>. 
+     * columns in the <code>ResultSet</code>.
      * @see java.util.Iterator#next()
      * @throws RuntimeException if an SQLException occurs.
      */
@@ -118,8 +118,9 @@ public class ResultSetIterator implement
         throw new RuntimeException(e.getMessage());
     }
 
-    /** Generates an <code>Iterable</code>, suitable for use in for-each loops.

-     * 
+    /**
+     * Generates an <code>Iterable</code>, suitable for use in for-each loops.
+     *
      * @param rs Wrap this <code>ResultSet</code> in an <code>Iterator</code>.
      * @return an <code>Iterable</code>, suitable for use in for-each loops.
      */
@@ -129,8 +130,8 @@ public class ResultSetIterator implement
             public Iterator<Object[]> iterator() {
                 return new ResultSetIterator(rs);
             }
-            
+
         };
     }
-    
+
 }



Mime
View raw message