Mercurial > hg > monetdb-java
changeset 720:99baab703566
Resolve some javac -Xdoclint warnings
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 19 Jan 2023 17:22:10 +0100 (2023-01-19) |
parents | 2f42195e9c58 |
children | b78d8167a997 |
files | src/main/java/org/monetdb/jdbc/MonetParameterMetaData.java src/main/java/org/monetdb/jdbc/MonetResultSetMetaData.java |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetParameterMetaData.java +++ b/src/main/java/org/monetdb/jdbc/MonetParameterMetaData.java @@ -48,7 +48,7 @@ final class MonetParameterMetaData * It is used by MonetPreparedStatement. * * @param connection the parent connection - * @param paramCount the number of parameters, it can be zero !! + * @param paramcount the number of parameters, it can be zero !! * @param types the MonetDB type names * @param jdbcTypes the JDBC SQL type codes * @param precisions the precision for each parameter
--- a/src/main/java/org/monetdb/jdbc/MonetResultSetMetaData.java +++ b/src/main/java/org/monetdb/jdbc/MonetResultSetMetaData.java @@ -51,7 +51,8 @@ final class MonetResultSetMetaData /** The scales of the columns in this ResultSet */ private final int[] scales; - /* For the methods: isNullable() and isAutoIncrement(), we need to query the server. + /** + * For the methods: isNullable() and isAutoIncrement(), we need to query the server. * To do this efficiently we query many columns combined in one SELECT * query and cache the results in following arrays. */ @@ -129,7 +130,7 @@ final class MonetResultSetMetaData * It is used by MonetPreparedStatement. * * @param connection the parent connection - * @param colCount the number of result columns, it can be zero !! + * @param colcount the number of result columns, it can be zero !! * @param schemas the schema names * @param tables the table names * @param columns the column names @@ -799,7 +800,7 @@ final class MonetResultSetMetaData * A private utility method to check validity of column index number * * @param column the first column is 1, the second is 2, ... - * @throws SQLDataException when invalid column index number + * @throws java.sql.SQLDataException when invalid column index number */ private final void checkColumnIndexValidity(final int column) throws java.sql.SQLDataException { if (column < 1 || column > colCount)