jdk annotations for some java.sql methods, related cleanup in stdlib & tests
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
fun executeQuery(statement: java.sql.Statement, cmd: String?) {
|
||||
statement.executeQuery(<!TYPE_MISMATCH!>cmd<!>)
|
||||
statement.executeQuery(cmd!!) : java.sql.ResultSet
|
||||
}
|
||||
|
||||
fun executeQuery(statement: java.sql.PreparedStatement) {
|
||||
statement.executeQuery() : java.sql.ResultSet
|
||||
}
|
||||
|
||||
fun executeUpdate(statement: java.sql.Statement, cmd: String?) {
|
||||
statement.<!NONE_APPLICABLE!>executeUpdate<!>(cmd)
|
||||
statement.executeUpdate(cmd!!)
|
||||
}
|
||||
Reference in New Issue
Block a user