You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/03/23 14:46:22 UTC
(commons-dbcp) branch master updated: Javadoc
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 da9725ce Javadoc
da9725ce is described below
commit da9725ce6f33461e096658fb23eec99db34c007c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Mar 23 10:46:13 2025 -0400
Javadoc
---
.../java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java | 4 ++--
.../org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
index 0cf27ff2..e77228b9 100644
--- a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
+++ b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/DriverAdapterCPDS.java
@@ -548,7 +548,7 @@ public class DriverAdapterCPDS implements ConnectionPoolDataSource, Referenceabl
}
/**
- * Whether to toggle the pooling of {@code PreparedStatement}s
+ * Tests whether to toggle the pooling of {@code PreparedStatement}s
*
* @return value of poolPreparedStatements.
*/
@@ -747,7 +747,7 @@ public class DriverAdapterCPDS implements ConnectionPoolDataSource, Referenceabl
}
/**
- * Whether to toggle the pooling of {@code PreparedStatement}s
+ * Sets whether to toggle the pooling of {@code PreparedStatement}s
*
* @param poolPreparedStatements true to pool statements.
* @throws IllegalStateException if {@link #getPooledConnection()} has been called
diff --git a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
index f0bac514..3c80f12e 100644
--- a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java
@@ -730,7 +730,7 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable
}
/**
- * Whether a rollback will be issued after executing the SQL query that will be used to validate connections from
+ * Tests whether a rollback will be issued after executing the SQL query that will be used to validate connections from
* this pool before returning them to the caller.
*
* @return true if a rollback will be issued after executing the validation query
@@ -1187,7 +1187,7 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable
}
/**
- * Whether a rollback will be issued after executing the SQL query that will be used to validate connections from
+ * Sets whether a rollback will be issued after executing the SQL query that will be used to validate connections from
* this pool before returning them to the caller. Default behavior is NOT to issue a rollback. The setting will only
* have an effect if a validation query is set
*