Files
kotlin-fork/idea/testData/android/lint/sqlite.kt.181
T
2018-04-11 16:28:35 +03:00

7 lines
457 B
Plaintext
Vendored

// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintSQLiteStringInspection
import android.database.sqlite.SQLiteDatabase
fun test(db: SQLiteDatabase) {
<warning descr="Using column type STRING; did you mean to use TEXT? (STRING is a numeric type and its value can be adjusted; for example, strings that look like integers can drop leading zeroes. See issue explanation for details.)">db.execSQL("CREATE TABLE COMPANY(NAME STRING)")</warning>
}