commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1728575 - in /commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2: BasicDataSource.java cpdsadapter/ConnectionImpl.java cpdsadapter/DriverAdapterCPDS.java cpdsadapter/package-info.java datasources/InstanceKeyDataSource.java
Date Fri, 05 Feb 2016 00:23:08 GMT
Author: ggregory
Date: Fri Feb  5 00:23:08 2016
New Revision: 1728575

URL: http://svn.apache.org/viewvc?rev=1728575&view=rev
Log:
Fix Javadoc "jdbc" -> "JDBC".

Modified:
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/ConnectionImpl.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/package-info.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java?rev=1728575&r1=1728574&r2=1728575&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
Fri Feb  5 00:23:08 2016
@@ -319,13 +319,13 @@ public class BasicDataSource implements
     private String driverClassName = null;
 
     /**
-     * Returns the jdbc driver class name.
+     * Returns the JDBC driver class name.
      * <p>
      * Note: This getter only returns the last value set by a call to
      * {@link #setDriverClassName(String)}. It does not return the class name of
      * any driver that may have been set via {@link #setDriver(Driver)}.
      *
-     * @return the jdbc driver class name
+     * @return the JDBC driver class name
      */
     @Override
     public synchronized String getDriverClassName() {
@@ -333,14 +333,14 @@ public class BasicDataSource implements
     }
 
     /**
-     * <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/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/ConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/ConnectionImpl.java?rev=1728575&r1=1728574&r2=1728575&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/ConnectionImpl.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/ConnectionImpl.java
Fri Feb  5 00:23:08 2016
@@ -27,9 +27,9 @@ import org.apache.commons.dbcp2.Delegati
 /**
  * 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.
  *
@@ -66,7 +66,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.
      *
@@ -87,7 +87,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
@@ -110,7 +110,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/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java?rev=1728575&r1=1728574&r2=1728575&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
Fri Feb  5 00:23:08 2016
@@ -45,7 +45,7 @@ import org.apache.commons.pool2.impl.Gen
 
 /**
  * <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

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/package-info.java?rev=1728575&r1=1728574&r2=1728575&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/package-info.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/package-info.java
Fri Feb  5 00:23:08 2016
@@ -19,7 +19,7 @@
  * <p>
  * This package contains one public class which is a
  * <code>ConnectionPoolDataSource</code> (CPDS) implementation that can be used
to
- * adapt older <code>Driver</code> based jdbc implementations. Below is an
+ * adapt older <code>Driver</code> based JDBC implementations. Below is an
  * example of setting up the CPDS to be available via JNDI in the
  * catalina servlet container.
  * </p>

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java?rev=1728575&r1=1728574&r2=1728575&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
Fri Feb  5 00:23:08 2016
@@ -70,7 +70,7 @@ import org.apache.commons.pool2.impl.Gen
  * The dbcp package contains an adapter,
  * {@link org.apache.commons.dbcp2.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>
@@ -647,7 +647,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.
      *
@@ -658,7 +658,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.
      *



Mime
View raw message