You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2018/06/19 09:18:09 UTC

commons-dbcp git commit: Fix Javadoc warnings

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 7a2d76735 -> 2d9149dc8


Fix Javadoc warnings

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/2d9149dc
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/2d9149dc
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/2d9149dc

Branch: refs/heads/master
Commit: 2d9149dc807556bdce029b966e1775d768b284b9
Parents: 7a2d767
Author: Mark Thomas <ma...@apache.org>
Authored: Tue Jun 19 10:18:01 2018 +0100
Committer: Mark Thomas <ma...@apache.org>
Committed: Tue Jun 19 10:18:01 2018 +0100

----------------------------------------------------------------------
 .../apache/commons/dbcp2/PoolableConnection.java  |  4 ++--
 .../dbcp2/cpdsadapter/PooledConnectionImpl.java   | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/2d9149dc/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java b/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
index 03432f1..046e3ab 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
@@ -296,9 +296,9 @@ public class PoolableConnection extends DelegatingConnection<Connection> impleme
     /**
      * Checks the SQLState of the input exception and any nested SQLExceptions it wraps.
      * <p>
-     * If {@link #getDisconnectSqlCodes() disconnectSQLCodes} has been set, sql states are compared to those in the
+     * If {@link #disconnectionSqlCodes} has been set, sql states are compared to those in the
      * configured list of fatal exception codes. If this property is not set, codes are compared against the default
-     * codes in #{@link Utils.DISCONNECTION_SQL_CODES} and in this case anything starting with #{link
+     * codes in {@link Utils#DISCONNECTION_SQL_CODES} and in this case anything starting with #{link
      * Utils.DISCONNECTION_SQL_CODE_PREFIX} is considered a disconnection.
      * </p>
      *

http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/2d9149dc/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
index 7771945..c708e16 100644
--- a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
+++ b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
@@ -179,35 +179,35 @@ class PooledConnectionImpl
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull());
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final int autoGeneratedKeys) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull(), autoGeneratedKeys);
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final int columnIndexes[]) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull(), columnIndexes);
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final int resultSetType, final int resultSetConcurrency) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull(), resultSetType, resultSetConcurrency);
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final int resultSetType, final int resultSetConcurrency,
             final int resultSetHoldability) {
@@ -216,7 +216,7 @@ class PooledConnectionImpl
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      *
      * @since 2.4.0
      */
@@ -227,7 +227,7 @@ class PooledConnectionImpl
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      *
      * @since 2.4.0
      */
@@ -237,14 +237,14 @@ class PooledConnectionImpl
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final StatementType statementType) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull(), statementType);
     }
 
     /**
-     * Creates a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Creates a {@link PStmtKey} for the given arguments.
      */
     protected PStmtKey createKey(final String sql, final String columnNames[]) {
         return new PStmtKey(normalizeSQL(sql), getCatalogOrNull(), columnNames);