am ea56499d: Merge "Potential NPE in SQLiteConnection"
# By Sylvain Becuwe # Via Gerrit Code Review (1) and You Kim (1) * commit 'ea56499dc36d863f92857ab7f93e5c4436f9654f': Potential NPE in SQLiteConnection
This commit is contained in:
@@ -974,7 +974,7 @@ public final class SQLiteConnection implements CancellationSignal.OnCancelListen
|
||||
if (count != statement.mNumParameters) {
|
||||
throw new SQLiteBindOrColumnIndexOutOfRangeException(
|
||||
"Expected " + statement.mNumParameters + " bind arguments but "
|
||||
+ bindArgs.length + " were provided.");
|
||||
+ count + " were provided.");
|
||||
}
|
||||
if (count == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user