@@ -697,7 +697,7 @@ public boolean getAutoCommitOnReturn() {
697697 /**
698698 * Gets the state caching flag.
699699 *
700- * @return the state caching flag
700+ * @return The state caching flag
701701 */
702702 @ Override
703703 public boolean getCacheState () {
@@ -749,7 +749,7 @@ public Connection getConnection(final String user, final String pass) throws SQL
749749 * Note: This getter only returns the last value set by a call to {@link #setConnectionFactoryClassName(String)}.
750750 * </p>
751751 *
752- * @return the ConnectionFactoryClassName that has been configured for use by this pool.
752+ * @return The ConnectionFactoryClassName that has been configured for use by this pool.
753753 * @since 2.7.0
754754 */
755755 public String getConnectionFactoryClassName () {
@@ -778,7 +778,7 @@ public String[] getConnectionInitSqlsAsArray() {
778778 /**
779779 * Gets the underlying connection pool.
780780 *
781- * @return the underlying connection pool.
781+ * @return The underlying connection pool.
782782 * @since 2.10.0
783783 */
784784 public GenericObjectPool <PoolableConnection > getConnectionPool () {
@@ -802,7 +802,7 @@ public Boolean getDefaultAutoCommit() {
802802 /**
803803 * Gets the default catalog.
804804 *
805- * @return the default catalog
805+ * @return The default catalog
806806 */
807807 @ Override
808808 public String getDefaultCatalog () {
@@ -845,7 +845,7 @@ public Boolean getDefaultReadOnly() {
845845 /**
846846 * Gets the default schema.
847847 *
848- * @return the default schema.
848+ * @return The default schema.
849849 * @since 2.5.0
850850 */
851851 @ Override
@@ -856,7 +856,7 @@ public String getDefaultSchema() {
856856 /**
857857 * Gets the default transaction isolation state of returned connections.
858858 *
859- * @return the default value for transaction isolation state
859+ * @return The default value for transaction isolation state
860860 * @see Connection#getTransactionIsolation
861861 */
862862 @ Override
@@ -919,7 +919,7 @@ public String[] getDisconnectionSqlCodesAsArray() {
919919 * driver instance that may have been created from the value set via {@link #setDriverClassName(String)}.
920920 * </p>
921921 *
922- * @return the JDBC Driver that has been configured for use by this pool
922+ * @return The JDBC Driver that has been configured for use by this pool
923923 */
924924 public synchronized Driver getDriver () {
925925 return driver ;
@@ -946,7 +946,7 @@ public synchronized ClassLoader getDriverClassLoader() {
946946 * return the class name of any driver that may have been set via {@link #setDriver(Driver)}.
947947 * </p>
948948 *
949- * @return the JDBC driver class name
949+ * @return The JDBC driver class name
950950 */
951951 @ Override
952952 public synchronized String getDriverClassName () {
@@ -956,7 +956,7 @@ public synchronized String getDriverClassName() {
956956 /**
957957 * Gets the value of the {code durationBetweenEvictionRuns} property.
958958 *
959- * @return the time (in milliseconds) between evictor runs
959+ * @return The time (in milliseconds) between evictor runs
960960 * @see #setDurationBetweenEvictionRuns(Duration)
961961 * @since 2.10.0
962962 */
@@ -1003,7 +1003,7 @@ public boolean getFastFailValidation() {
10031003 /**
10041004 * Gets the initial size of the connection pool.
10051005 *
1006- * @return the number of connections created when the pool is initialized
1006+ * @return The number of connections created when the pool is initialized
10071007 */
10081008 @ Override
10091009 public synchronized int getInitialSize () {
@@ -1095,7 +1095,7 @@ public PrintWriter getLogWriter() throws SQLException {
10951095 * Gets the maximum permitted duration of a connection. A value of zero or less indicates an
10961096 * infinite lifetime.
10971097 *
1098- * @return the maximum permitted duration of a connection.
1098+ * @return The maximum permitted duration of a connection.
10991099 * @since 2.10.0
11001100 */
11011101 public Duration getMaxConnDuration () {
@@ -1121,7 +1121,7 @@ public long getMaxConnLifetimeMillis() {
11211121 * A negative value indicates that there is no limit
11221122 * </p>
11231123 *
1124- * @return the maximum number of idle connections
1124+ * @return The maximum number of idle connections
11251125 */
11261126 @ Override
11271127 public synchronized int getMaxIdle () {
@@ -1131,7 +1131,7 @@ public synchronized int getMaxIdle() {
11311131 /**
11321132 * Gets the value of the {@code maxOpenPreparedStatements} property.
11331133 *
1134- * @return the maximum number of open statements
1134+ * @return The maximum number of open statements
11351135 */
11361136 @ Override
11371137 public synchronized int getMaxOpenPreparedStatements () {
@@ -1144,7 +1144,7 @@ public synchronized int getMaxOpenPreparedStatements() {
11441144 * A negative number means that there is no limit.
11451145 * </p>
11461146 *
1147- * @return the maximum number of active connections
1147+ * @return The maximum number of active connections
11481148 */
11491149 @ Override
11501150 public synchronized int getMaxTotal () {
@@ -1155,7 +1155,7 @@ public synchronized int getMaxTotal() {
11551155 * Gets the maximum Duration that the pool will wait for a connection to be returned before throwing an exception. A
11561156 * value less than or equal to zero means the pool is set to wait indefinitely.
11571157 *
1158- * @return the maxWaitDuration property value.
1158+ * @return The maxWaitDuration property value.
11591159 * @since 2.10.0
11601160 */
11611161 public synchronized Duration getMaxWaitDuration () {
@@ -1166,7 +1166,7 @@ public synchronized Duration getMaxWaitDuration() {
11661166 * Gets the maximum number of milliseconds that the pool will wait for a connection to be returned before
11671167 * throwing an exception. A value less than or equal to zero means the pool is set to wait indefinitely.
11681168 *
1169- * @return the maxWaitMillis property value.
1169+ * @return The maxWaitMillis property value.
11701170 * @deprecated Use {@link #getMaxWaitDuration()}.
11711171 */
11721172 @ Deprecated
@@ -1178,7 +1178,7 @@ public synchronized long getMaxWaitMillis() {
11781178 /**
11791179 * Gets the {code minEvictableIdleDuration} property.
11801180 *
1181- * @return the value of the {code minEvictableIdleDuration} property
1181+ * @return The value of the {code minEvictableIdleDuration} property
11821182 * @see #setMinEvictableIdle(Duration)
11831183 * @since 2.10.0
11841184 */
@@ -1189,7 +1189,7 @@ public synchronized Duration getMinEvictableIdleDuration() {
11891189 /**
11901190 * Gets the {code minEvictableIdleDuration} property.
11911191 *
1192- * @return the value of the {code minEvictableIdleDuration} property
1192+ * @return The value of the {code minEvictableIdleDuration} property
11931193 * @see #setMinEvictableIdle(Duration)
11941194 * @deprecated Use {@link #getMinEvictableIdleDuration()}.
11951195 */
@@ -1204,7 +1204,7 @@ public synchronized long getMinEvictableIdleTimeMillis() {
12041204 * are available when the idle object evictor runs. The value of this property has no effect unless
12051205 * {code durationBetweenEvictionRuns} has a positive value.
12061206 *
1207- * @return the minimum number of idle connections
1207+ * @return The minimum number of idle connections
12081208 * @see GenericObjectPool#getMinIdle()
12091209 */
12101210 @ Override
@@ -1215,7 +1215,7 @@ public synchronized int getMinIdle() {
12151215 /**
12161216 * [Read Only] The current number of active connections that have been allocated from this data source.
12171217 *
1218- * @return the current number of active connections
1218+ * @return The current number of active connections
12191219 */
12201220 @ Override
12211221 public int getNumActive () {
@@ -1227,7 +1227,7 @@ public int getNumActive() {
12271227 /**
12281228 * [Read Only] The current number of idle connections that are waiting to be allocated from this data source.
12291229 *
1230- * @return the current number of idle connections
1230+ * @return The current number of idle connections
12311231 */
12321232 @ Override
12331233 public int getNumIdle () {
@@ -1239,7 +1239,7 @@ public int getNumIdle() {
12391239 /**
12401240 * Gets the value of the {code numTestsPerEvictionRun} property.
12411241 *
1242- * @return the number of objects to examine during idle object evictor runs
1242+ * @return The number of objects to examine during idle object evictor runs
12431243 * @see #setNumTestsPerEvictionRun(int)
12441244 */
12451245 @ Override
@@ -1255,7 +1255,7 @@ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
12551255 /**
12561256 * Gets the password passed to the JDBC driver to establish connections.
12571257 *
1258- * @return the connection password
1258+ * @return The connection password
12591259 * @deprecated Exposing passwords via JMX is an Information Exposure issue.
12601260 */
12611261 @ Deprecated
@@ -1267,7 +1267,7 @@ public String getPassword() {
12671267 /**
12681268 * Gets the registered JMX ObjectName.
12691269 *
1270- * @return the registered JMX ObjectName.
1270+ * @return The registered JMX ObjectName.
12711271 */
12721272 protected ObjectName getRegisteredJmxName () {
12731273 return ObjectNameWrapper .unwrap (registeredJmxObjectName );
@@ -1463,7 +1463,7 @@ public synchronized boolean getTestWhileIdle() {
14631463 /**
14641464 * Gets the value of the {code durationBetweenEvictionRuns} property.
14651465 *
1466- * @return the time (in milliseconds) between evictor runs
1466+ * @return The time (in milliseconds) between evictor runs
14671467 * @see #setDurationBetweenEvictionRuns(Duration)
14681468 * @deprecated Use {@link #getDurationBetweenEvictionRuns()}.
14691469 */
@@ -1476,7 +1476,7 @@ public synchronized long getTimeBetweenEvictionRunsMillis() {
14761476 /**
14771477 * Gets the JDBC connection {code connectionString} property.
14781478 *
1479- * @return the {code connectionString} passed to the JDBC driver to establish connections
1479+ * @return The {code connectionString} passed to the JDBC driver to establish connections
14801480 */
14811481 @ Override
14821482 public synchronized String getUrl () {
@@ -1486,7 +1486,7 @@ public synchronized String getUrl() {
14861486 /**
14871487 * Gets the JDBC connection {code userName} property.
14881488 *
1489- * @return the {code userName} passed to the JDBC driver to establish connections
1489+ * @return The {code userName} passed to the JDBC driver to establish connections
14901490 * @deprecated Use {@link #getUserName()}.
14911491 */
14921492 @ Deprecated
@@ -1498,7 +1498,7 @@ public String getUsername() {
14981498 /**
14991499 * Gets the validation query used to validate connections before returning them.
15001500 *
1501- * @return the SQL validation query
1501+ * @return The SQL validation query
15021502 * @see #setValidationQuery(String)
15031503 */
15041504 @ Override
@@ -1509,7 +1509,7 @@ public String getValidationQuery() {
15091509 /**
15101510 * Gets the validation query timeout.
15111511 *
1512- * @return the timeout in seconds before connection validation queries fail.
1512+ * @return The timeout in seconds before connection validation queries fail.
15131513 * @deprecated Use {@link #getValidationQueryTimeoutDuration()}.
15141514 */
15151515 @ Deprecated
@@ -1521,7 +1521,7 @@ public int getValidationQueryTimeout() {
15211521 /**
15221522 * Gets the validation query timeout.
15231523 *
1524- * @return the timeout in seconds before connection validation queries fail.
1524+ * @return The timeout in seconds before connection validation queries fail.
15251525 */
15261526 public Duration getValidationQueryTimeoutDuration () {
15271527 return validationQueryTimeoutDuration ;
0 commit comments