diff src/main/java/org/monetdb/jdbc/MonetResultSet.java @ 709:bdeabbd46ec6

Resolve javac and javadoc warnings when compiled with JDK19.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 15 Dec 2022 19:31:53 +0100 (2022-12-15)
parents 97008566d6c5
children c3c424a90a42
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetResultSet.java
+++ b/src/main/java/org/monetdb/jdbc/MonetResultSet.java
@@ -4054,6 +4054,7 @@ public class MonetResultSet
 	 * warning.
 	 *
 	 * @param reason the warning message
+	 * @param sqlstate the SQLState code (5 characters)
 	 */
 	private void addWarning(final String reason, final String sqlstate) {
 		SQLWarning warng = new SQLWarning(reason, sqlstate);
@@ -4067,6 +4068,8 @@ public class MonetResultSet
 	/**
 	 * Local helper method to test whether the ResultSet object is closed
 	 * When closed it throws an SQLException
+	 *
+	 * @throws SQLException if this ResultSet is closed
 	 */
 	private void checkNotClosed() throws SQLException {
 		if (isClosed())