Basic Java nullability warnings implemented
#KT-6723 In Progress
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fun executeQuery(statement: java.sql.Statement, cmd: String?) {
|
||||
statement.executeQuery(cmd)
|
||||
statement.executeQuery(<!NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS!>cmd<!>)
|
||||
statement.executeQuery(cmd!!) : java.sql.ResultSet
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ fun executeQuery(statement: java.sql.PreparedStatement) {
|
||||
}
|
||||
|
||||
fun executeUpdate(statement: java.sql.Statement, cmd: String?) {
|
||||
statement.executeUpdate(cmd)
|
||||
statement.executeUpdate(<!NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS!>cmd<!>)
|
||||
statement.executeUpdate(cmd!!)
|
||||
}
|
||||
Reference in New Issue
Block a user