Repository: commons-dbcp Updated Branches: refs/heads/master 8ab7cc1b7 -> 9a61dc02f
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/9a61dc02 Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/9a61dc02 Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/9a61dc02 Branch: refs/heads/master Commit: 9a61dc02faf30447bc37d45c79d846c61be5f462 Parents: 8ab7cc1 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Mon Jun 11 17:54:08 2018 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Mon Jun 11 17:54:08 2018 -0600 ---------------------------------------------------------------------- .../org/apache/commons/dbcp2/BasicDataSourceFactory.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/9a61dc02/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java b/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java index a356e85..dfd27e9 100644 --- a/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java +++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java @@ -326,11 +326,13 @@ public class BasicDataSourceFactory implements ObjectFactory { } /** - * Creates and configures a {@link BasicDataSource} instance based on the - * given properties. + * Creates and configures a {@link BasicDataSource} instance based on the given properties. * - * @param properties the datasource configuration properties - * @throws Exception if an error occurs creating the data source + * @param properties + * The data source configuration properties. + * @return A new a {@link BasicDataSource} instance based on the given properties. + * @throws Exception + * Thrown when an error occurs creating the data source. */ public static BasicDataSource createDataSource(final Properties properties) throws Exception { final BasicDataSource dataSource = new BasicDataSource();