commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-dbcp git commit: Comment empty block.
Date Mon, 11 Jun 2018 23:46:19 GMT
Repository: commons-dbcp
Updated Branches:
  refs/heads/master f433a9960 -> 437d4d653


Comment empty block.

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

Branch: refs/heads/master
Commit: 437d4d653a1eb5e4a7261998f1bbd0bbc558a6fa
Parents: f433a99
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Mon Jun 11 17:46:15 2018 -0600
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Mon Jun 11 17:46:15 2018 -0600

----------------------------------------------------------------------
 .../org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/437d4d65/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
b/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
index 79fbd73..00a6992 100644
--- a/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
+++ b/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java
@@ -273,6 +273,7 @@ public class LocalXAConnectionFactory implements XAConnectionFactory {
                 try {
                     connection.setAutoCommit(originalAutoCommit);
                 } catch (final SQLException e) {
+                    // Ignore.
                 }
                 this.currentXid = null;
             }


Mime
View raw message