# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1735843356 -3600 # Node ID 64ea9d5fbf87c57e37ac1a93642b1ca7e60b0ac1 # Parent d416e9b6b3d08b284b68b43e7d69cbcef0e0ecfe Fix some compile with -Xlint flag errors and warnings diff --git a/src/main/java/org/monetdb/mcl/net/ClientInfo.java b/src/main/java/org/monetdb/mcl/net/ClientInfo.java --- a/src/main/java/org/monetdb/mcl/net/ClientInfo.java +++ b/src/main/java/org/monetdb/mcl/net/ClientInfo.java @@ -30,7 +30,7 @@ import java.util.Set; /** * Manage ClientInfo properties to track, and help generating a - * @{link SQLClientInfoException} if there is a failure + * {@link SQLClientInfoException} if there is a failure */ public final class ClientInfo { public static final String defaultHostname = findHostname(); diff --git a/src/main/java/org/monetdb/mcl/net/Parameter.java b/src/main/java/org/monetdb/mcl/net/Parameter.java --- a/src/main/java/org/monetdb/mcl/net/Parameter.java +++ b/src/main/java/org/monetdb/mcl/net/Parameter.java @@ -202,6 +202,7 @@ public enum Parameter { * * @param info a proposed list of tag/value pairs that will be sent on * connect open + * @param requires_tls flag to inform is tls required * @return an array of DriverPropertyInfo objects describing possible * properties. This array may be an empty array if no properties * are required. diff --git a/tests/JDBC_API_Tester.java b/tests/JDBC_API_Tester.java --- a/tests/JDBC_API_Tester.java +++ b/tests/JDBC_API_Tester.java @@ -49,6 +49,8 @@ public final class JDBC_API_Tester { /** * constructor + * @param con_ an active connection + * @throws SQLException if a connection or database access error occurs */ JDBC_API_Tester(Connection con_) throws SQLException { this.con = con_;