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 2013/05/24 18:58:12 UTC
svn commit: r1486117 - in
/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp:
./ cpdsadapter/ datasources/
Author: ggregory
Date: Fri May 24 16:58:12 2013
New Revision: 1486117
URL: http://svn.apache.org/r1486117
Log:
Javadoc: replace acronym 'jdbc' with 'JDBC'.
Modified:
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/BasicDataSource.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingConnection.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingStatement.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/AbandonedObjectPool.java Fri May 24 16:58:12 2013
@@ -65,7 +65,7 @@ public class AbandonedObjectPool extends
* getNumActive() > getMaxActive() - 3 and
* getNumIdle() < 2
*
- * @return Object jdbc Connection
+ * @return Object JDBC Connection
* @throws Exception if an exception occurs retrieving a
* connection from the pool
*/
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/BasicDataSource.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/BasicDataSource.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/BasicDataSource.java Fri May 24 16:58:12 2013
@@ -202,23 +202,23 @@ public class BasicDataSource implements
protected String driverClassName = null;
/**
- * Returns the jdbc driver class name.
+ * Returns the JDBC driver class name.
*
- * @return the jdbc driver class name
+ * @return the JDBC driver class name
*/
public synchronized String getDriverClassName() {
return this.driverClassName;
}
/**
- * <p>Sets the jdbc driver class name.</p>
+ * <p>Sets the JDBC driver class name.</p>
* <p>
* Note: this method currently has no effect once the pool has been
* initialized. The pool is initialized the first time one of the
* following methods is invoked: <code>getConnection, setLogwriter,
* setLoginTimeout, getLoginTimeout, getLogWriter.</code></p>
*
- * @param driverClassName the class name of the jdbc driver
+ * @param driverClassName the class name of the JDBC driver
*/
public synchronized void setDriverClassName(String driverClassName) {
if ((driverClassName != null) && (driverClassName.trim().length() > 0)) {
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingConnection.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingConnection.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingConnection.java Fri May 24 16:58:12 2013
@@ -173,7 +173,7 @@ public class DelegatingConnection extend
/**
* This method considers two objects to be equal
- * if the underlying jdbc objects are equal.
+ * if the underlying JDBC objects are equal.
*/
public boolean equals(Object obj) {
if (obj == null) {
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingStatement.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingStatement.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingStatement.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/DelegatingStatement.java Fri May 24 16:58:12 2013
@@ -76,7 +76,7 @@ public class DelegatingStatement extends
/**
* <p>This method considers two objects to be equal
- * if the underlying jdbc objects are equal.</p>
+ * if the underlying JDBC objects are equal.</p>
*
* <p>If {@code obj} is a DelegatingStatement, this DelegatingStatement's
* {@link #getInnermostDelegate() innermostDelegate} is compared with
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java Fri May 24 16:58:12 2013
@@ -27,9 +27,9 @@ import org.apache.commons.dbcp.Delegatin
/**
* This class is the <code>Connection</code> that will be returned
* from <code>PooledConnectionImpl.getConnection()</code>.
- * Most methods are wrappers around the jdbc 1.x <code>Connection</code>.
+ * Most methods are wrappers around the JDBC 1.x <code>Connection</code>.
* A few exceptions include preparedStatement and close.
- * In accordance with the jdbc specification this Connection cannot
+ * In accordance with the JDBC specification this Connection cannot
* be used after closed() is called. Any further usage will result in an
* SQLException.
*
@@ -65,7 +65,7 @@ class ConnectionImpl extends DelegatingC
/**
* Marks the Connection as closed, and notifies the pool that the
* pooled connection is available.
- * In accordance with the jdbc specification this Connection cannot
+ * In accordance with the JDBC specification this Connection cannot
* be used after closed() is called. Any further usage will result in an
* SQLException.
*
@@ -82,7 +82,7 @@ class ConnectionImpl extends DelegatingC
/**
* If pooling of <code>PreparedStatement</code>s is turned on in the
* {@link DriverAdapterCPDS}, a pooled object may be returned, otherwise
- * delegate to the wrapped jdbc 1.x {@link java.sql.Connection}.
+ * delegate to the wrapped JDBC 1.x {@link java.sql.Connection}.
*
* @param sql SQL statement to be prepared
* @return the prepared statement
@@ -104,7 +104,7 @@ class ConnectionImpl extends DelegatingC
/**
* If pooling of <code>PreparedStatement</code>s is turned on in the
* {@link DriverAdapterCPDS}, a pooled object may be returned, otherwise
- * delegate to the wrapped jdbc 1.x {@link java.sql.Connection}.
+ * delegate to the wrapped JDBC 1.x {@link java.sql.Connection}.
*
* @exception SQLException if this connection is closed or an error occurs
* in the wrapped connection.
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java Fri May 24 16:58:12 2013
@@ -42,7 +42,7 @@ import org.apache.commons.pool.impl.Gene
/**
* <p>
- * An adapter for jdbc drivers that do not include an implementation
+ * An adapter for JDBC drivers that do not include an implementation
* of {@link javax.sql.ConnectionPoolDataSource}, but still include a
* {@link java.sql.DriverManager} implementation.
* <code>ConnectionPoolDataSource</code>s are not used within general
@@ -69,7 +69,7 @@ import org.apache.commons.pool.impl.Gene
* The DriverAdapterCPDS also provides <code>PreparedStatement</code> pooling
* which is not generally available in jbdc2
* <code>ConnectionPoolDataSource</code> implementation, but is
- * addressed within the jdbc3 specification. The <code>PreparedStatement</code>
+ * addressed within the JDBC3 specification. The <code>PreparedStatement</code>
* pool in DriverAdapterCPDS has been in the dbcp package for some time, but
* it has not undergone extensive testing in the configuration used here.
* It should be considered experimental and can be toggled with the
Modified: commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java?rev=1486117&r1=1486116&r2=1486117&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java (original)
+++ commons/proper/dbcp/branches/DBCP_1_4_x_BRANCH/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java Fri May 24 16:58:12 2013
@@ -71,7 +71,7 @@ import org.apache.commons.pool.impl.Gene
* The dbcp package contains an adapter,
* {@link org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS},
* that can be used to allow the use of <code>DataSource</code>'s based on this
- * class with jdbc driver implementations that do not supply a
+ * class with JDBC driver implementations that do not supply a
* <code>ConnectionPoolDataSource</code>, but still
* provide a {@link java.sql.Driver} implementation.
* </p>
@@ -341,7 +341,7 @@ public abstract class InstanceKeyDataSou
}
/**
- * Get the description. This property is defined by jdbc as for use with
+ * Get the description. This property is defined by JDBC as for use with
* GUI (or other) tools that might deploy the datasource. It serves no
* internal purpose.
*
@@ -352,7 +352,7 @@ public abstract class InstanceKeyDataSou
}
/**
- * Set the description. This property is defined by jdbc as for use with
+ * Set the description. This property is defined by JDBC as for use with
* GUI (or other) tools that might deploy the datasource. It serves no
* internal purpose.
*