@@ -103,7 +103,7 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
103103 /**
104104 * Validates the given factory.
105105 *
106- * @param connectionFactory the factory
106+ * @param connectionFactory The factory
107107 * @throws SQLException Thrown by one of the factory methods while managing a temporary pooled object.
108108 */
109109 @ SuppressWarnings ("resource" )
@@ -589,9 +589,9 @@ protected DataSource createDataSourceInstance() throws SQLException {
589589 /**
590590 * Creates an object pool used to provide pooling support for {@link Connection JDBC connections}.
591591 *
592- * @param factory the object factory
593- * @param poolConfig the object pool configuration
594- * @param abandonedConfig the abandoned objects configuration
592+ * @param factory The object factory
593+ * @param poolConfig The object pool configuration
594+ * @param abandonedConfig The abandoned objects configuration
595595 * @return A non-null instance
596596 */
597597 protected GenericObjectPool <PoolableConnection > createObjectPool (final PoolableConnectionFactory factory ,
@@ -1596,7 +1596,7 @@ public synchronized boolean isClosed() {
15961596 /**
15971597 * Delegates in a null-safe manner to {@link String#isEmpty()}.
15981598 *
1599- * @param value the string to test, may be null.
1599+ * @param value The string to test, may be null.
16001600 * @return boolean false if value is null, otherwise {@link String#isEmpty()}.
16011601 */
16021602 private boolean isEmpty (final String value ) {
@@ -1640,7 +1640,7 @@ private void jmxRegister() {
16401640 /**
16411641 * Logs the given message.
16421642 *
1643- * @param message the message to log.
1643+ * @param message The message to log.
16441644 */
16451645 protected void log (final String message ) {
16461646 if (logWriter != null ) {
@@ -1652,7 +1652,7 @@ protected void log(final String message) {
16521652 * Logs the given message and throwable.
16531653 *
16541654 * @param message value to be log.
1655- * @param throwable the throwable.
1655+ * @param throwable The throwable.
16561656 * @since 2.7.0
16571657 */
16581658 protected void log (final String message , final Throwable throwable ) {
@@ -1869,7 +1869,7 @@ private <T> void setConnectionPool(final BiConsumer<GenericObjectPool<PoolableCo
18691869 * NOTE - The "user" and "password" properties will be added explicitly, so they do not need to be included here.
18701870 * </p>
18711871 *
1872- * @param connectionProperties the connection properties used to create new connections
1872+ * @param connectionProperties The connection properties used to create new connections
18731873 */
18741874 public void setConnectionProperties (final String connectionProperties ) {
18751875 Objects .requireNonNull (connectionProperties , "connectionProperties" );
@@ -1912,7 +1912,7 @@ public void setDefaultAutoCommit(final Boolean defaultAutoCommit) {
19121912 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
19131913 * </p>
19141914 *
1915- * @param defaultCatalog the default catalog
1915+ * @param defaultCatalog The default catalog
19161916 */
19171917 public void setDefaultCatalog (final String defaultCatalog ) {
19181918 this .defaultCatalog = isEmpty (defaultCatalog ) ? null : defaultCatalog ;
@@ -1963,7 +1963,7 @@ public void setDefaultReadOnly(final Boolean defaultReadOnly) {
19631963 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
19641964 * </p>
19651965 *
1966- * @param defaultSchema the default catalog
1966+ * @param defaultSchema The default catalog
19671967 * @since 2.5.0
19681968 */
19691969 public void setDefaultSchema (final String defaultSchema ) {
@@ -1978,7 +1978,7 @@ public void setDefaultSchema(final String defaultSchema) {
19781978 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
19791979 * </p>
19801980 *
1981- * @param defaultTransactionIsolation the default transaction isolation state
1981+ * @param defaultTransactionIsolation The default transaction isolation state
19821982 * @see Connection#getTransactionIsolation
19831983 */
19841984 public void setDefaultTransactionIsolation (final int defaultTransactionIsolation ) {
@@ -2066,7 +2066,7 @@ public synchronized void setDriver(final Driver driver) {
20662066 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
20672067 * </p>
20682068 *
2069- * @param driverClassLoader the class loader with which to load the JDBC driver
2069+ * @param driverClassLoader The class loader with which to load the JDBC driver
20702070 */
20712071 public synchronized void setDriverClassLoader (final ClassLoader driverClassLoader ) {
20722072 this .driverClassLoader = driverClassLoader ;
@@ -2080,7 +2080,7 @@ public synchronized void setDriverClassLoader(final ClassLoader driverClassLoade
20802080 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
20812081 * </p>
20822082 *
2083- * @param driverClassName the class name of the JDBC driver
2083+ * @param driverClassName The class name of the JDBC driver
20842084 */
20852085 public synchronized void setDriverClassName (final String driverClassName ) {
20862086 this .driverClassName = isEmpty (driverClassName ) ? null : driverClassName ;
@@ -2089,7 +2089,7 @@ public synchronized void setDriverClassName(final String driverClassName) {
20892089 /**
20902090 * Sets the {code durationBetweenEvictionRuns} property.
20912091 *
2092- * @param timeBetweenEvictionRunsMillis the new time between evictor runs
2092+ * @param timeBetweenEvictionRunsMillis The new time between evictor runs
20932093 * @see #setDurationBetweenEvictionRuns(Duration)
20942094 * @since 2.10.0
20952095 */
@@ -2141,7 +2141,7 @@ public void setFastFailValidation(final boolean fastFailValidation) {
21412141 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
21422142 * </p>
21432143 *
2144- * @param initialSize the number of connections created when the pool is initialized
2144+ * @param initialSize The number of connections created when the pool is initialized
21452145 */
21462146 public synchronized void setInitialSize (final int initialSize ) {
21472147 this .initialSize = initialSize ;
@@ -2162,7 +2162,7 @@ public void setJmxName(final String jmxName) {
21622162 /**
21632163 * Sets the LIFO property. True means the pool behaves as a LIFO queue; false means FIFO.
21642164 *
2165- * @param lifo the new value for the LIFO property
2165+ * @param lifo The new value for the LIFO property
21662166 */
21672167 public synchronized void setLifo (final boolean lifo ) {
21682168 this .lifo = lifo ;
@@ -2265,7 +2265,7 @@ public void setMaxConnLifetimeMillis(final long maxConnLifetimeMillis) {
22652265 * return to the pool.
22662266 *
22672267 * @see #getMaxIdle()
2268- * @param maxIdle the new value for maxIdle
2268+ * @param maxIdle The new value for maxIdle
22692269 */
22702270 public synchronized void setMaxIdle (final int maxIdle ) {
22712271 this .maxIdle = maxIdle ;
@@ -2280,7 +2280,7 @@ public synchronized void setMaxIdle(final int maxIdle) {
22802280 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
22812281 * </p>
22822282 *
2283- * @param maxOpenStatements the new maximum number of prepared statements
2283+ * @param maxOpenStatements The new maximum number of prepared statements
22842284 */
22852285 public synchronized void setMaxOpenPreparedStatements (final int maxOpenStatements ) {
22862286 this .maxOpenPreparedStatements = maxOpenStatements ;
@@ -2290,7 +2290,7 @@ public synchronized void setMaxOpenPreparedStatements(final int maxOpenStatement
22902290 * Sets the maximum total number of idle and borrows connections that can be active at the same time. Use a negative
22912291 * value for no limit.
22922292 *
2293- * @param maxTotal the new value for maxTotal
2293+ * @param maxTotal The new value for maxTotal
22942294 * @see #getMaxTotal()
22952295 */
22962296 public synchronized void setMaxTotal (final int maxTotal ) {
@@ -2301,7 +2301,7 @@ public synchronized void setMaxTotal(final int maxTotal) {
23012301 /**
23022302 * Sets the MaxWaitMillis property. Use -1 to make the pool wait indefinitely.
23032303 *
2304- * @param maxWaitDuration the new value for MaxWaitMillis
2304+ * @param maxWaitDuration The new value for MaxWaitMillis
23052305 * @see #getMaxWaitDuration()
23062306 * @since 2.10.0
23072307 */
@@ -2313,7 +2313,7 @@ public synchronized void setMaxWait(final Duration maxWaitDuration) {
23132313 /**
23142314 * Sets the MaxWaitMillis property. Use -1 to make the pool wait indefinitely.
23152315 *
2316- * @param maxWaitMillis the new value for MaxWaitMillis
2316+ * @param maxWaitMillis The new value for MaxWaitMillis
23172317 * @see #getMaxWaitDuration()
23182318 * @deprecated {@link #setMaxWait(Duration)}.
23192319 */
@@ -2325,7 +2325,7 @@ public synchronized void setMaxWaitMillis(final long maxWaitMillis) {
23252325 /**
23262326 * Sets the {code minEvictableIdleDuration} property.
23272327 *
2328- * @param minEvictableIdleDuration the minimum amount of time an object may sit idle in the pool
2328+ * @param minEvictableIdleDuration The minimum amount of time an object may sit idle in the pool
23292329 * @see #setMinEvictableIdle(Duration)
23302330 * @since 2.10.0
23312331 */
@@ -2337,7 +2337,7 @@ public synchronized void setMinEvictableIdle(final Duration minEvictableIdleDura
23372337 /**
23382338 * Sets the {code minEvictableIdleDuration} property.
23392339 *
2340- * @param minEvictableIdleTimeMillis the minimum amount of time an object may sit idle in the pool
2340+ * @param minEvictableIdleTimeMillis The minimum amount of time an object may sit idle in the pool
23412341 * @see #setMinEvictableIdle(Duration)
23422342 * @deprecated Use {@link #setMinEvictableIdle(Duration)}.
23432343 */
@@ -2351,7 +2351,7 @@ public synchronized void setMinEvictableIdleTimeMillis(final long minEvictableId
23512351 * available when the idle object evictor runs. The value of this property has no effect unless
23522352 * {code durationBetweenEvictionRuns} has a positive value.
23532353 *
2354- * @param minIdle the new value for minIdle
2354+ * @param minIdle The new value for minIdle
23552355 * @see GenericObjectPool#setMinIdle(int)
23562356 */
23572357 public synchronized void setMinIdle (final int minIdle ) {
@@ -2362,7 +2362,7 @@ public synchronized void setMinIdle(final int minIdle) {
23622362 /**
23632363 * Sets the value of the {code numTestsPerEvictionRun} property.
23642364 *
2365- * @param numTestsPerEvictionRun the new {code numTestsPerEvictionRun} value
2365+ * @param numTestsPerEvictionRun The new {code numTestsPerEvictionRun} value
23662366 * @see #setNumTestsPerEvictionRun(int)
23672367 */
23682368 public synchronized void setNumTestsPerEvictionRun (final int numTestsPerEvictionRun ) {
@@ -2550,7 +2550,7 @@ public synchronized void setTestWhileIdle(final boolean testWhileIdle) {
25502550 /**
25512551 * Sets the {code durationBetweenEvictionRuns} property.
25522552 *
2553- * @param timeBetweenEvictionRunsMillis the new time between evictor runs
2553+ * @param timeBetweenEvictionRunsMillis The new time between evictor runs
25542554 * @see #setDurationBetweenEvictionRuns(Duration)
25552555 * @deprecated Use {@link #setDurationBetweenEvictionRuns(Duration)}.
25562556 */
@@ -2567,7 +2567,7 @@ public synchronized void setTimeBetweenEvictionRunsMillis(final long timeBetween
25672567 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
25682568 * </p>
25692569 *
2570- * @param connectionString the new value for the JDBC connection connectionString
2570+ * @param connectionString The new value for the JDBC connection connectionString
25712571 */
25722572 public synchronized void setUrl (final String connectionString ) {
25732573 this .connectionString = connectionString ;
@@ -2581,7 +2581,7 @@ public synchronized void setUrl(final String connectionString) {
25812581 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
25822582 * </p>
25832583 *
2584- * @param userName the new value for the JDBC connection user name
2584+ * @param userName The new value for the JDBC connection user name
25852585 */
25862586 public void setUsername (final String userName ) {
25872587 this .userName = userName ;
@@ -2595,7 +2595,7 @@ public void setUsername(final String userName) {
25952595 * {@link #setLoginTimeout(int)}, {@link #getLoginTimeout()}, {@link #getLogWriter()}.
25962596 * </p>
25972597 *
2598- * @param validationQuery the new value for the validation query
2598+ * @param validationQuery The new value for the validation query
25992599 */
26002600 public void setValidationQuery (final String validationQuery ) {
26012601 this .validationQuery = isEmpty (validationQuery ) ? null : validationQuery ;
0 commit comments