Potential NPE in SQLiteConnection

Change-Id: I4d768bda5ea2fccb4a7c6ce7a5f074bf41563eac
Signed-off-by: Sylvain Becuwe <sylvain.becuwe@gmail.com>
This commit is contained in:
Sylvain Becuwe
2012-10-28 01:48:37 +02:00
committed by You Kim
parent 7e007ff837
commit 942085b8ee

View File

@@ -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;