Incompatible types in argument
When I compile my code with The Checker Framwork it complains:
incompatible types in argument.
found : null
required: @NonNull String
for the first argument of:
ResultSet rs = connection.getMetaData().getColumns(null, schemaName,
tableName, null)
I know that DatabaseMetadata.getColumns() allows a null catalog (the first
argument). How do I tell the Checker Framework as much?
No comments:
Post a Comment