Mercurial > hg > monetdb-java
changeset 938:64ea9d5fbf87
Fix some compile with -Xlint flag errors and warnings
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 02 Jan 2025 19:42:36 +0100 (3 months ago) |
parents | d416e9b6b3d0 |
children | fd938d0a2b3a |
files | src/main/java/org/monetdb/mcl/net/ClientInfo.java src/main/java/org/monetdb/mcl/net/Parameter.java tests/JDBC_API_Tester.java |
diffstat | 3 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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();
--- 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.
--- 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_;