Skip to content

Commit 59383cd

Browse files
Fix javadoc and remove unused throws
1 parent e77d573 commit 59383cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sample/src/main/java/oracle/r2dbc/samples/JdbcToR2dbc.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ static int executeConditionallyJdbc(java.sql.Connection connection)
286286

287287
/**
288288
* Uses R2DBC to conditionally execute an INSERT if an UPDATE returns a row
289-
* count of zero. This method performs the same database interactions as the
290-
* {@link #executeConditionallyJdbc(Connection)} method.
289+
* count of zero. This method performs the same database interactions as the
290+
* {@link #executeConditionallyJdbc(java.sql.Connection)} method.
291291
* @param connection Database connection
292292
* @return A {@code Publisher} that emits {@code onNext} with the number of
293293
* rows updated, or emits {@code onError} with an {@link R2dbcException} if
@@ -432,7 +432,7 @@ static Publisher<Integer> executeLoopR2dbc(
432432
/**
433433
* Executes all examples with both JDBC and R2DBC.
434434
*/
435-
public static void main(String[] args) throws SQLException {
435+
public static void main(String[] args) {
436436
createTable();
437437
try {
438438
useJdbc();

0 commit comments

Comments
 (0)