Skip to content

Commit 2fa0933

Browse files
author
Lance Andersen
committed
8304990: unnecessary dash in @param gives double-dash in docs
Reviewed-by: bpb, naoto
1 parent e56bcb0 commit 2fa0933

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/java.sql/share/classes/java/sql/Connection.java

+5-6
Original file line numberDiff line numberDiff line change
@@ -1108,12 +1108,11 @@ PreparedStatement prepareStatement(String sql, String columnNames[])
11081108
* The query submitted by the driver to validate the connection shall be
11091109
* executed in the context of the current transaction.
11101110
*
1111-
* @param timeout - The time in seconds to wait for the database operation
1112-
* used to validate the connection to complete. If
1113-
* the timeout period expires before the operation
1114-
* completes, this method returns false. A value of
1115-
* 0 indicates a timeout is not applied to the
1116-
* database operation.
1111+
* @param timeout The time in seconds to wait for the database operation
1112+
* used to validate the connection to complete. If the
1113+
* timeout period expires before the operationcompletes,
1114+
* this method returns false. A value of 0 indicates a
1115+
* timeout is not applied to the database operation.
11171116
*
11181117
* @return true if the connection is valid, false otherwise
11191118
* @throws SQLException if the value supplied for {@code timeout}

0 commit comments

Comments
 (0)