commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1171960 - /commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
Date Sat, 17 Sep 2011 12:12:35 GMT
Author: sebb
Date: Sat Sep 17 12:12:34 2011
New Revision: 1171960

URL: http://svn.apache.org/viewvc?rev=1171960&view=rev
Log:
Don't hide superclass field; use it

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

Modified: commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java?rev=1171960&r1=1171959&r2=1171960&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
(original)
+++ commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/wrappers/SqlNullCheckedResultSetTest.java
Sat Sep 17 12:12:34 2011
@@ -46,8 +46,6 @@ import org.apache.commons.dbutils.ProxyF
  */
 public class SqlNullCheckedResultSetTest extends BaseTestCase {
 
-    private ResultSet rs = null;
-
     private SqlNullCheckedResultSet rs2 = null;
 
     /**
@@ -62,7 +60,7 @@ public class SqlNullCheckedResultSetTest
                 ProxyFactory.instance().createResultSet(
                     new SqlNullUncheckedMockResultSet()));
 
-        rs = ProxyFactory.instance().createResultSet(rs2);
+        rs = ProxyFactory.instance().createResultSet(rs2); // Override superclass field
     }
 
     /**



Mime
View raw message