Repository: commons-dbcp
Updated Branches:
  refs/heads/master 4f65842c5 -> 713ba5701


Javadoc and max line 120.

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

Branch: refs/heads/master
Commit: 713ba5701905c8ba0b019fc39b0b1aa5325fdcdb
Parents: 4f65842
Author: Gary Gregory <[email protected]>
Authored: Sun Jun 10 10:09:10 2018 -0600
Committer: Gary Gregory <[email protected]>
Committed: Sun Jun 10 10:09:10 2018 -0600

----------------------------------------------------------------------
 .../dbcp2/managed/ManagedConnection.java        | 27 ++++++++++----------
 1 file changed, 14 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/713ba570/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java 
b/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
index d5154f7..c3b9292 100644
--- a/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
@@ -26,20 +26,21 @@ import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReentrantLock;
 
 /**
- * ManagedConnection is responsible for managing a database connection in a 
transactional environment
- * (typically called "Container Managed").  A managed connection operates like 
any other connection
- * when no global transaction (a.k.a. XA transaction or JTA Transaction) is in 
progress.  When a
- * global transaction is active a single physical connection to the database 
is used by all
- * ManagedConnections accessed in the scope of the transaction.  Connection 
sharing means that all
- * data access during a transaction has a consistent view of the database.  
When the global transaction
- * is committed or rolled back the enlisted connections are committed or 
rolled back.  Typically upon
- * transaction completion, a connection returns to the auto commit setting in 
effect before being
- * enlisted in the transaction, but some vendors do not properly implement 
this.
+ * ManagedConnection is responsible for managing a database connection in a 
transactional environment (typically called
+ * "Container Managed"). A managed connection operates like any other 
connection when no global transaction (a.k.a. XA
+ * transaction or JTA Transaction) is in progress. When a global transaction 
is active a single physical connection to
+ * the database is used by all ManagedConnections accessed in the scope of the 
transaction. Connection sharing means
+ * that all data access during a transaction has a consistent view of the 
database. When the global transaction is
+ * committed or rolled back the enlisted connections are committed or rolled 
back. Typically upon transaction
+ * completion, a connection returns to the auto commit setting in effect 
before being enlisted in the transaction, but
+ * some vendors do not properly implement this.
+ * <p>
+ * When enlisted in a transaction the setAutoCommit(), commit(), rollback(), 
and setReadOnly() methods throw a
+ * SQLException. This is necessary to assure that the transaction completes as 
a single unit.
+ * </p>
  *
- * When enlisted in a transaction the setAutoCommit(), commit(), rollback(), 
and setReadOnly() methods
- * throw a SQLException.  This is necessary to assure that the transaction 
completes as a single unit.
- *
- * @param <C> the Connection type
+ * @param <C>
+ *            the Connection type
  *
  * @author Dain Sundstrom
  * @since 2.0

Reply via email to