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 2019/07/30 18:25:35 UTC

[commons-dbcp] 06/18: Revert "Javadoc."

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git

commit de5634102df26580a0e63831fcb58d9fbf161ee6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 30 09:41:54 2019 -0400

    Revert "Javadoc."
    
    This reverts commit d603fc52f548b5e50985b0c6c09e1357bef8aafa.
---
 src/main/java/org/apache/commons/dbcp2/BasicDataSource.java | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
index 1aab125..28698ac 100644
--- a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
@@ -446,7 +446,7 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
     }
 
     /**
-     * Creates a JDBC connection factory for this data source. The JDBC driver is loaded using the following algorithm:
+     * Creates a JDBC connection factory for this datasource. The JDBC driver is loaded using the following algorithm:
      * <ol>
      * <li>If a Driver instance has been specified via {@link #setDriver(Driver)} use it</li>
      * <li>If no Driver instance was specified and {@link #driverClassName} is specified that class is loaded using the
@@ -456,9 +456,7 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
      * context class loader of the current thread.</li>
      * <li>If a driver still isn't loaded one is loaded via the {@link DriverManager} using the specified {@link #url}.
      * </ol>
-     * <p>
      * This method exists so subclasses can replace the implementation class.
-     * </p>
      *
      * @return A new connection factory.
      *
@@ -1520,8 +1518,6 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
 
     /**
      * Manually evicts idle connections
-     *
-     * @throws Exception when there is a problem evicting idle objects.
      */
     public void evict() throws Exception {
         if (connectionPool != null) {