You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/06/19 09:18:35 UTC
svn commit: r1833797 - in /tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2:
PoolableConnection.java cpdsadapter/PooledConnectionImpl.java
Author: markt
Date: Tue Jun 19 09:18:34 2018
New Revision: 1833797
URL: http://svn.apache.org/viewvc?rev=1833797&view=rev
Log:
Fix Javadoc warnings
Modified:
tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/PoolableConnection.java
tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/PooledConnectionImpl.java
Modified: tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/PoolableConnection.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/PoolableConnection.java?rev=1833797&r1=1833796&r2=1833797&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/PoolableConnection.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/PoolableConnection.java Tue Jun 19 09:18:34 2018
@@ -296,9 +296,9 @@ public class PoolableConnection extends
/**
* 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>
*
Modified: tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/PooledConnectionImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/PooledConnectionImpl.java?rev=1833797&r1=1833796&r2=1833797&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/PooledConnectionImpl.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/PooledConnectionImpl.java Tue Jun 19 09:18:34 2018
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org