You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2020/09/16 16:15:53 UTC
[commons-dbcp] branch master updated: Fix Javadoc typo
This is an automated email from the ASF dual-hosted git repository.
markt 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 618721c Fix Javadoc typo
618721c is described below
commit 618721c0a5eb92fd54b9c1f960e52cbd927c0b6e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 16 17:15:37 2020 +0100
Fix Javadoc typo
---
src/main/java/org/apache/commons/dbcp2/BasicDataSource.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
index 4acecaf..9a14ad1 100644
--- a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
@@ -211,7 +211,7 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
private boolean poolPreparedStatements = false;
private boolean clearStatementPoolOnReturn = false;
-
+
/**
* <p>
* The maximum number of open statements that can be allocated from the statement pool at the same time, or negative
@@ -456,7 +456,7 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
*
* @return A new connection factory.
*
- * @throws SQLException If the connection factort cannot be created
+ * @throws SQLException If the connection factory cannot be created
*/
protected ConnectionFactory createConnectionFactory() throws SQLException {
// Load the JDBC driver class
@@ -1438,8 +1438,8 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
/**
* Returns true if the statement pool is cleared when the connection is returned to its pool.
- *
- * @return true if the statement pool is cleared at connection return
+ *
+ * @return true if the statement pool is cleared at connection return
* @since 2.8.0
*/
@Override
@@ -1660,9 +1660,9 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
}
/**
- * Sets whether the pool of statements (which was enabled with {@link #setPoolPreparedStatements(boolean)}) should
+ * Sets whether the pool of statements (which was enabled with {@link #setPoolPreparedStatements(boolean)}) should
* be cleared when the connection is returned to its pool. Default is false.
- *
+ *
* @param clearStatementPoolOnReturn clear or not
* @since 2.8.0
*/