commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1572244 - in /commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2: BasicDataSource.java PoolingConnection.java PoolingDataSource.java PoolingDriver.java managed/LocalXAConnectionFactory.java managed/ManagedConnection.java
Date Wed, 26 Feb 2014 20:38:09 GMT
Author: markt
Date: Wed Feb 26 20:38:08 2014
New Revision: 1572244

URL: http://svn.apache.org/r1572244
Log:
Add @since 2.0 to inner classes

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/PoolingConnection.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.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=1572244&r1=1572243&r2=1572244&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
Wed Feb 26 20:38:08 2014
@@ -2257,6 +2257,9 @@ public class BasicDataSource implements 
         return registeredJmxName;
     }
 
+    /**
+     * @since 2.0
+     */
     private class PaGetConnection implements PrivilegedExceptionAction<Connection>
{
 
         @Override

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java?rev=1572244&r1=1572243&r2=1572244&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
Wed Feb 26 20:38:08 2014
@@ -411,7 +411,8 @@ public class PoolingConnection extends D
     }
 
     /**
-     * The possible statement types
+     * The possible statement types.
+     * @since 2.0
      */
     protected static enum StatementType {
         CALLABLE_STATEMENT,

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java?rev=1572244&r1=1572243&r2=1572244&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
Wed Feb 26 20:38:08 2014
@@ -175,6 +175,7 @@ public class PoolingDataSource<C extends
     /**
      * PoolGuardConnectionWrapper is a Connection wrapper that makes sure a
      * closed connection cannot be used anymore.
+     * @since 2.0
      */
     private class PoolGuardConnectionWrapper<D extends Connection>
             extends DelegatingConnection<D> {

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java?rev=1572244&r1=1572243&r2=1572244&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java (original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java Wed
Feb 26 20:38:08 2014
@@ -204,6 +204,7 @@ public class PoolingDriver implements Dr
     /**
      * PoolGuardConnectionWrapper is a Connection wrapper that makes sure a
      * closed connection cannot be used anymore.
+     * @since 2.0
      */
     private class PoolGuardConnectionWrapper extends DelegatingConnection<Connection>
{
 

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java?rev=1572244&r1=1572243&r2=1572244&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
Wed Feb 26 20:38:08 2014
@@ -87,6 +87,7 @@ public class LocalXAConnectionFactory im
      * </p>
      * It is assumed that the wrapper around a managed connection disables the setAutoCommit(),
      * commit(), rollback() and setReadOnly() methods while a transaction is in progress.
+     * @since 2.0
      */
     protected static class LocalXAResource implements XAResource {
         private final Connection connection;

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java?rev=1572244&r1=1572243&r2=1572244&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
Wed Feb 26 20:38:08 2014
@@ -167,6 +167,7 @@ public class ManagedConnection<C extends
     /**
      * Delegates to {@link ManagedConnection#transactionComplete()}
      * for transaction completion events.
+     * @since 2.0
      */
     protected class CompletionListener implements TransactionContextListener {
         @Override



Mime
View raw message