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-dbutils.git


The following commit(s) were added to refs/heads/master by this push:
     new 662d6e1  Javadoc: The @deprecated tag should be last.
662d6e1 is described below

commit 662d6e126d0f2eb03002815800467d8d885b7a3b
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 31 18:35:24 2025 -0500

    Javadoc: The @deprecated tag should be last.
---
 .../org/apache/commons/dbutils/AsyncQueryRunner.java | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java 
b/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
index 4083256..7ad690f 100644
--- a/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
+++ b/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java
@@ -221,13 +221,13 @@ public class AsyncQueryRunner extends AbstractQueryRunner 
{
     private final QueryRunner queryRunner;
 
     /**
-     * @deprecated Use {@link #AsyncQueryRunner(ExecutorService, QueryRunner)} 
instead.
-     * Constructor for AsyncQueryRunner that controls the use of {@code 
ParameterMetaData}.
-     *
      * @param pmdKnownBroken Some drivers don't support {@link 
java.sql.ParameterMetaData#getParameterType(int)};
      * if {@code pmdKnownBroken} is set to true, we won't even try it; if 
false, we'll try it,
      * and if it breaks, we'll remember not to use it again.
      * @param executorService the {@code ExecutorService} instance used to run 
JDBC invocations concurrently.
+     * @deprecated Use {@link #AsyncQueryRunner(ExecutorService, QueryRunner)} 
instead.
+     * Constructor for AsyncQueryRunner that controls the use of {@code 
ParameterMetaData}.
+     *
      */
     @Deprecated
     public AsyncQueryRunner(final boolean pmdKnownBroken, final 
ExecutorService executorService) {
@@ -235,16 +235,16 @@ public class AsyncQueryRunner extends AbstractQueryRunner 
{
     }
 
     /**
-     * @deprecated Use {@link #AsyncQueryRunner(ExecutorService, QueryRunner)} 
instead.
-     * Constructor for AsyncQueryRunner that take a {@code DataSource} and 
controls the use of {@code ParameterMetaData}.
-     * Methods that do not take a {@code Connection} parameter will retrieve 
connections from this
-     * {@code DataSource}.
-     *
      * @param ds The {@code DataSource} to retrieve connections from.
      * @param pmdKnownBroken Some drivers don't support {@link 
java.sql.ParameterMetaData#getParameterType(int)};
      * if {@code pmdKnownBroken} is set to true, we won't even try it; if 
false, we'll try it,
      * and if it breaks, we'll remember not to use it again.
      * @param executorService the {@code ExecutorService} instance used to run 
JDBC invocations concurrently.
+     * @deprecated Use {@link #AsyncQueryRunner(ExecutorService, QueryRunner)} 
instead.
+     * Constructor for AsyncQueryRunner that take a {@code DataSource} and 
controls the use of {@code ParameterMetaData}.
+     * Methods that do not take a {@code Connection} parameter will retrieve 
connections from this
+     * {@code DataSource}.
+     *
      */
     @Deprecated
     public AsyncQueryRunner(final DataSource ds, final boolean pmdKnownBroken, 
final ExecutorService executorService) {
@@ -254,14 +254,14 @@ public class AsyncQueryRunner extends AbstractQueryRunner 
{
     }
 
     /**
+     * @param ds The {@code DataSource} to retrieve connections from.
+     * @param executorService the {@code ExecutorService} instance used to run 
JDBC invocations concurrently.
      * @deprecated Use {@link #AsyncQueryRunner(ExecutorService, QueryRunner)} 
instead.
      * Constructor for AsyncQueryRunner that takes a {@code DataSource}.
      *
      * Methods that do not take a {@code Connection} parameter will retrieve 
connections from this
      * {@code DataSource}.
      *
-     * @param ds The {@code DataSource} to retrieve connections from.
-     * @param executorService the {@code ExecutorService} instance used to run 
JDBC invocations concurrently.
      */
     @Deprecated
     public AsyncQueryRunner(final DataSource ds, final ExecutorService 
executorService) {

Reply via email to