commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1171963 - /commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java
Date Sat, 17 Sep 2011 12:15:33 GMT
Author: sebb
Date: Sat Sep 17 12:15:33 2011
New Revision: 1171963

URL: http://svn.apache.org/viewvc?rev=1171963&view=rev
Log:
Document known unthrowns to avoid warnings

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

Modified: commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java?rev=1171963&r1=1171962&r2=1171963&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java (original)
+++ commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java Sat
Sep 17 12:15:33 2011
@@ -217,6 +217,9 @@ public class MockResultSet implements In
         }
     }
 
+    /**
+     * @throws SQLException  
+     */
     protected ResultSetMetaData getMetaData() throws SQLException {
         return this.metaData;
     }
@@ -323,10 +326,16 @@ public class MockResultSet implements In
         throw new UnsupportedOperationException("Unsupported method: " + methodName);
     }
 
+    /**
+     * @throws SQLException  
+     */
     protected Boolean isLast() throws SQLException {
         return this.iter.hasNext() ? Boolean.FALSE : Boolean.TRUE;
     }
 
+    /**
+     * @throws SQLException  
+     */
     protected Boolean next() throws SQLException {
         if (!this.iter.hasNext()) {
             return Boolean.FALSE;
@@ -344,6 +353,9 @@ public class MockResultSet implements In
         this.wasNull = (isNull == null) ? Boolean.TRUE : Boolean.FALSE;
     }
 
+    /**
+     * @throws SQLException  
+     */
     protected Boolean wasNull() throws SQLException {
         return this.wasNull;
     }



Mime
View raw message