You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/06/11 23:12:53 UTC
commons-dbcp git commit: Add missing Javadoc HTML tags.
Repository: commons-dbcp
Updated Branches:
refs/heads/master a3ff0a8f0 -> c2999dfde
Add missing Javadoc HTML tags.
Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/c2999dfd
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/c2999dfd
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/c2999dfd
Branch: refs/heads/master
Commit: c2999dfde9d33635ce8d9fc5ade5ae19d7f32c22
Parents: a3ff0a8
Author: Gary Gregory <ga...@gmail.com>
Authored: Mon Jun 11 17:12:44 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Mon Jun 11 17:12:44 2018 -0600
----------------------------------------------------------------------
.../org/apache/commons/dbcp2/DelegatingResultSet.java | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/c2999dfd/src/main/java/org/apache/commons/dbcp2/DelegatingResultSet.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingResultSet.java b/src/main/java/org/apache/commons/dbcp2/DelegatingResultSet.java
index 3e2424e..53beeab 100644
--- a/src/main/java/org/apache/commons/dbcp2/DelegatingResultSet.java
+++ b/src/main/java/org/apache/commons/dbcp2/DelegatingResultSet.java
@@ -45,11 +45,13 @@ import java.util.Map;
* All of the methods from the {@link ResultSet} interface
* simply call the corresponding method on the "delegate"
* provided in my constructor.
+ * </p>
* <p>
* Extends AbandonedTrace to implement result set tracking and
* logging of code which created the ResultSet. Tracking the
* ResultSet ensures that the Statement which created it can
* close any open ResultSet's on Statement close.
+ * </p>
*
* @since 2.0
*/
@@ -65,12 +67,13 @@ public final class DelegatingResultSet extends AbandonedTrace implements ResultS
private Connection connection;
/**
- * Create a wrapper for the ResultSet which traces this
+ * Creates 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)}
+ * </p>
*
* @param stmt Statement which created this ResultSet
* @param res ResultSet to wrap
@@ -82,12 +85,13 @@ public final class DelegatingResultSet extends AbandonedTrace implements ResultS
}
/**
- * Create a wrapper for the ResultSet which traces this
+ * Creates 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)}
+ * </p>
*
* @param conn Connection which created this ResultSet
* @param res ResultSet to wrap
@@ -126,10 +130,12 @@ public final class DelegatingResultSet extends AbandonedTrace implements ResultS
* delegate that is not a {@code DelegatingResultSet},
* or {@code null} when no non-{@code DelegatingResultSet}
* delegate can be found by traversing this chain.
+ * </p>
* <p>
* This method is useful when you may have nested
* {@code DelegatingResultSet}s, and you want to make
* sure to obtain a "genuine" {@link ResultSet}.
+ * </p>
*/
public ResultSet getInnermostDelegate() {
ResultSet r = resultSet;