This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
The following commit(s) were added to refs/heads/master by this push:
new 922eb26 Remove dead comment.
922eb26 is described below
commit 922eb2685ff64bdb27607ceecbe333330e5be4c0
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Aug 23 09:14:57 2021 -0400
Remove dead comment.
---
src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java | 2 --
src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java | 4 ----
2 files changed, 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
b/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
index 5363457..a3e6b04 100644
--- a/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
+++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
@@ -182,8 +182,6 @@ public class BasicDataSourceFactory implements
ObjectFactory {
}
- // -------------------------------------------------- ObjectFactory Methods
-
/**
* Creates and configures a {@link BasicDataSource} instance based on the
given properties.
*
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 20e0455..1e24dd1 100644
--- a/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java
@@ -172,10 +172,6 @@ public class ManagedConnection<C extends Connection>
extends DelegatingConnectio
return accessToUnderlyingConnectionAllowed;
}
- //
- // Methods for accessing the delegate connection
- //
-
@Override
public void rollback() throws SQLException {
if (transactionContext != null) {