Author: markt Date: Fri Jul 26 15:32:45 2013 New Revision: 1507353 URL: http://svn.apache.org/r1507353 Log: Document construction requirements.
Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/DelegatingResultSet.java Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/DelegatingResultSet.java URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/DelegatingResultSet.java?rev=1507353&r1=1507352&r2=1507353&view=diff ============================================================================== --- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/DelegatingResultSet.java (original) +++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/DelegatingResultSet.java Fri Jul 26 15:32:45 2013 @@ -73,6 +73,9 @@ public class DelegatingResultSet extends * Create a wrapper for the ResultSet which traces this * ResultSet to the Statement which created it and the * code which created it. + * <p> + * Private to ensure all construction is + * {@link #wrapResultSet(Statement, ResultSet)} * * @param stmt Statement which created this ResultSet * @param res ResultSet to wrap @@ -87,6 +90,9 @@ public class DelegatingResultSet extends * Create a wrapper for the ResultSet which traces this * ResultSet to the Connection which created it (via, for * example DatabaseMetadata, and the code which created it. + * <p> + * Private to ensure all construction is + * {@link #wrapResultSet(Connection, ResultSet)} * * @param conn Connection which created this ResultSet * @param res ResultSet to wrap