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 2216da52 Javadoc: Fix build warnings 2216da52 is described below commit 2216da5299cfb15026536097ee990ee39e06d460 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Nov 4 18:00:08 2024 -0500 Javadoc: Fix build warnings --- .../java/org/apache/commons/dbcp2/DriverConnectionFactory.java | 10 ++++++++-- .../apache/commons/dbcp2/managed/LocalXAConnectionFactory.java | 7 +++++++ .../org/apache/commons/dbcp2/managed/ManagedConnection.java | 4 ++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/dbcp2/DriverConnectionFactory.java b/src/main/java/org/apache/commons/dbcp2/DriverConnectionFactory.java index 99b0ddfc..3f59e2d2 100644 --- a/src/main/java/org/apache/commons/dbcp2/DriverConnectionFactory.java +++ b/src/main/java/org/apache/commons/dbcp2/DriverConnectionFactory.java @@ -53,6 +53,8 @@ public class DriverConnectionFactory implements ConnectionFactory { } /** + * Gets the connection String. + * * @return The connection String. * @since 2.6.0 */ @@ -61,7 +63,9 @@ public class DriverConnectionFactory implements ConnectionFactory { } /** - * @return The Driver. + * Gets the JDBC Driver. + * + * @return The JDBC Driver. * @since 2.6.0 */ public Driver getDriver() { @@ -69,7 +73,9 @@ public class DriverConnectionFactory implements ConnectionFactory { } /** - * @return The Properties. + * Gets the properties. + * + * @return The properties. * @since 2.6.0 */ public Properties getProperties() { diff --git a/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java b/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java index a4a08b98..e69b9880 100644 --- a/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java +++ b/src/main/java/org/apache/commons/dbcp2/managed/LocalXAConnectionFactory.java @@ -368,6 +368,8 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { } /** + * Gets the connection factory. + * * @return The connection factory. * @since 2.6.0 */ @@ -375,6 +377,11 @@ public class LocalXAConnectionFactory implements XAConnectionFactory { return connectionFactory; } + /** + * Gets the transaction registry. + * + * @return The transaction registry. + */ @Override public TransactionRegistry getTransactionRegistry() { return transactionRegistry; 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 126a39d2..3108dc87 100644 --- a/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java +++ b/src/main/java/org/apache/commons/dbcp2/managed/ManagedConnection.java @@ -148,6 +148,8 @@ public class ManagedConnection<C extends Connection> extends DelegatingConnectio } /** + * Gets the transaction context. + * * @return The transaction context. * @since 2.6.0 */ @@ -156,6 +158,8 @@ public class ManagedConnection<C extends Connection> extends DelegatingConnectio } /** + * Gets the transaction registry. + * * @return The transaction registry. * @since 2.6.0 */