Skip to content

Commit 145a81a

Browse files
committed
Javadoc: Empty Javadoc line before the 1st tag.
1 parent 83e7bd5 commit 145a81a

5 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/main/java/org/apache/commons/dbcp2/BasicDataSource.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,7 @@ public PrintWriter getLogWriter() throws SQLException {
10941094
/**
10951095
* Gets the maximum permitted duration of a connection. A value of zero or less indicates an
10961096
* infinite lifetime.
1097+
*
10971098
* @return the maximum permitted duration of a connection.
10981099
* @since 2.10.0
10991100
*/
@@ -1104,6 +1105,7 @@ public Duration getMaxConnDuration() {
11041105
/**
11051106
* Gets the maximum permitted lifetime of a connection in milliseconds. A value of zero or less indicates an
11061107
* infinite lifetime.
1108+
*
11071109
* @deprecated Use {@link #getMaxConnDuration()}.
11081110
*/
11091111
@Override
@@ -1331,6 +1333,7 @@ public boolean getRemoveAbandonedOnMaintenance() {
13311333
* <p>
13321334
* The default value is 300 seconds.
13331335
* </p>
1336+
*
13341337
* @deprecated Use {@link #getRemoveAbandonedTimeoutDuration()}.
13351338
*/
13361339
@Deprecated
@@ -1356,6 +1359,7 @@ public int getRemoveAbandonedTimeout() {
13561359
* <p>
13571360
* The default value is 300 seconds.
13581361
* </p>
1362+
*
13591363
* @return Timeout before an abandoned connection can be removed.
13601364
* @since 2.10.0
13611365
*/

src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public class BasicDataSourceFactory implements ObjectFactory {
127127
* a state that will be excluded from being treated as a fatal disconnection. The expected format is a series
128128
* of SQL State codes separated by commas, with no spaces between them (e.g., "08003,08004").
129129
* </p>
130+
*
130131
* @since 2.13.0
131132
*/
132133
private static final String PROP_DISCONNECTION_IGNORE_SQL_CODES = "disconnectionIgnoreSqlCodes";

src/main/java/org/apache/commons/dbcp2/Utils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public final class Utils {
6464
* <li>JZ0C0 (Sybase disconnect error)</li>
6565
* <li>JZ0C1 (Sybase disconnect error)</li>
6666
* </ul>
67+
*
6768
* @deprecated Use {@link #getDisconnectionSqlCodes()}.
6869
*/
6970
@Deprecated
@@ -202,6 +203,7 @@ public static void closeQuietly(final Statement statement) {
202203
* <li>JZ0C0 (Sybase disconnect error)</li>
203204
* <li>JZ0C1 (Sybase disconnect error)</li>
204205
* </ul>
206+
*
205207
* @return A copy SQL codes of fatal connection errors.
206208
* @since 2.10.0
207209
*/

src/main/java/org/apache/commons/dbcp2/datasources/PerUserPoolDataSource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ void setPerUserEvictionPolicyClassName(final Map<String, String> newMap) {
837837
* <p>
838838
* The class must implement {@link EvictionPolicy}.
839839
* </p>
840+
*
840841
* @param userName
841842
* The user name key.
842843
* @param value

src/main/java/org/apache/commons/dbcp2/managed/TransactionRegistry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public class TransactionRegistry {
4747

4848
/**
4949
* Provided for backwards compatibility
50+
*
5051
* @param transactionManager the transaction manager used to enlist connections
5152
*/
5253
public TransactionRegistry(final TransactionManager transactionManager) {

0 commit comments

Comments
 (0)