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 d345684 Remove extra whitespace in Javadoc @link tags d345684 is described below commit d345684fa3882f3565b4c19d7e561ebd4c170ec7 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Mar 5 08:53:57 2025 -0500 Remove extra whitespace in Javadoc @link tags --- .../commons/dbutils/AbstractQueryRunner.java | 10 +++++----- .../apache/commons/dbutils/AsyncQueryRunner.java | 4 ++-- .../org/apache/commons/dbutils/OutParameter.java | 2 +- .../org/apache/commons/dbutils/QueryRunner.java | 22 +++++++++++----------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java b/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java index df065cb..4a78b80 100644 --- a/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java +++ b/src/main/java/org/apache/commons/dbutils/AbstractQueryRunner.java @@ -71,7 +71,7 @@ public abstract class AbstractQueryRunner { * * @param pmdKnownBroken * Some drivers don't support - * {@link ParameterMetaData#getParameterType(int) }; if + * {@link 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. @@ -105,7 +105,7 @@ public abstract class AbstractQueryRunner { * The {@code DataSource} to retrieve connections from. * @param pmdKnownBroken * Some drivers don't support - * {@link ParameterMetaData#getParameterType(int) }; if + * {@link 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. @@ -122,7 +122,7 @@ public abstract class AbstractQueryRunner { * 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) }; + * @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 stmtConfig The configuration to apply to statements when they are prepared. @@ -467,13 +467,13 @@ public abstract class AbstractQueryRunner { /** * Some drivers don't support - * {@link ParameterMetaData#getParameterType(int) }; if + * {@link 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. * * @return the flag to skip (or not) - * {@link ParameterMetaData#getParameterType(int) } + * {@link ParameterMetaData#getParameterType(int)} * @since 1.4 */ public boolean isPmdKnownBroken() { diff --git a/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java b/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java index d0587c1..7a595af 100644 --- a/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java +++ b/src/main/java/org/apache/commons/dbutils/AsyncQueryRunner.java @@ -223,7 +223,7 @@ public class AsyncQueryRunner extends AbstractQueryRunner { * @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) }; + * @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. @@ -240,7 +240,7 @@ public class AsyncQueryRunner extends AbstractQueryRunner { * {@code DataSource}. * * @param ds The {@code DataSource} to retrieve connections from. - * @param pmdKnownBroken Some drivers don't support {@link java.sql.ParameterMetaData#getParameterType(int) }; + * @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. diff --git a/src/main/java/org/apache/commons/dbutils/OutParameter.java b/src/main/java/org/apache/commons/dbutils/OutParameter.java index 0808019..47740fe 100644 --- a/src/main/java/org/apache/commons/dbutils/OutParameter.java +++ b/src/main/java/org/apache/commons/dbutils/OutParameter.java @@ -25,7 +25,7 @@ import java.sql.SQLException; * procedure with {@link QueryRunner}, pass an instance of * {@code OutParameter} to indicate that the parameter at that index is an * OUT parameter. The value of the parameter may be obtained from the - * {@code OutParameter} instance via {@link #getValue() }. + * {@code OutParameter} instance via {@link #getValue()}. * <p> * INOUT parameters are also supported by setting the {@code value} of * the {@code OutParameter} instance before invoking the stored procedure. diff --git a/src/main/java/org/apache/commons/dbutils/QueryRunner.java b/src/main/java/org/apache/commons/dbutils/QueryRunner.java index bb86af8..9ba8cdd 100644 --- a/src/main/java/org/apache/commons/dbutils/QueryRunner.java +++ b/src/main/java/org/apache/commons/dbutils/QueryRunner.java @@ -45,7 +45,7 @@ public class QueryRunner extends AbstractQueryRunner { /** * Constructor for QueryRunner that controls the use of {@code ParameterMetaData}. * - * @param pmdKnownBroken Some drivers don't support {@link java.sql.ParameterMetaData#getParameterType(int) }; + * @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. */ @@ -71,7 +71,7 @@ public class QueryRunner extends AbstractQueryRunner { * {@code DataSource}. * * @param ds The {@code DataSource} to retrieve connections from. - * @param pmdKnownBroken Some drivers don't support {@link java.sql.ParameterMetaData#getParameterType(int) }; + * @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. */ @@ -85,7 +85,7 @@ public class QueryRunner extends AbstractQueryRunner { * 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) }; + * @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 stmtConfig The configuration to apply to statements when they are prepared. @@ -194,9 +194,9 @@ public class QueryRunner extends AbstractQueryRunner { * Use this method when invoking a stored procedure with OUT parameters * that does not return any result sets. If you are not invoking a stored * procedure, or the stored procedure has no OUT parameters, consider using - * {@link #update(java.sql.Connection, String, Object...) }. + * {@link #update(java.sql.Connection, String, Object...)}. * If the stored procedure returns result sets, use - * {@link #execute(java.sql.Connection, String, org.apache.commons.dbutils.ResultSetHandler, Object...) }. + * {@link #execute(java.sql.Connection, String, org.apache.commons.dbutils.ResultSetHandler, Object...)}. * * @param conn The connection to use to run the query. * @param sql The SQL to execute. @@ -242,9 +242,9 @@ public class QueryRunner extends AbstractQueryRunner { * Use this method when: a) running SQL statements that return multiple * result sets; b) invoking a stored procedure that return result * sets and OUT parameters. Otherwise you may wish to use - * {@link #query(java.sql.Connection, String, org.apache.commons.dbutils.ResultSetHandler, Object...) } + * {@link #query(java.sql.Connection, String, org.apache.commons.dbutils.ResultSetHandler, Object...)} * (if there are no OUT parameters) or - * {@link #execute(java.sql.Connection, String, Object...) } + * {@link #execute(java.sql.Connection, String, Object...)} * (if there are no result sets). * * @param <T> The type of object that the handler returns @@ -306,9 +306,9 @@ public class QueryRunner extends AbstractQueryRunner { * Use this method when invoking a stored procedure with OUT parameters * that does not return any result sets. If you are not invoking a stored * procedure, or the stored procedure has no OUT parameters, consider using - * {@link #update(String, Object...) }. + * {@link #update(String, Object...)}. * If the stored procedure returns result sets, use - * {@link #execute(String, org.apache.commons.dbutils.ResultSetHandler, Object...) }. + * {@link #execute(String, org.apache.commons.dbutils.ResultSetHandler, Object...)}. * <p> * The {@code Connection} is retrieved from the {@code DataSource} * set in the constructor. This {@code Connection} must be in @@ -334,9 +334,9 @@ public class QueryRunner extends AbstractQueryRunner { * Use this method when: a) running SQL statements that return multiple * result sets; b) invoking a stored procedure that return result * sets and OUT parameters. Otherwise you may wish to use - * {@link #query(String, org.apache.commons.dbutils.ResultSetHandler, Object...) } + * {@link #query(String, org.apache.commons.dbutils.ResultSetHandler, Object...)} * (if there are no OUT parameters) or - * {@link #execute(String, Object...) } + * {@link #execute(String, Object...)} * (if there are no result sets). * * @param <T> The type of object that the handler returns