summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Becuwe <sylvain.becuwe@gmail.com>2012-10-28 01:48:37 +0200
committerYou Kim <you.kim72@gmail.com>2012-10-28 23:37:11 +0900
commit942085b8eed6a15522e0c030d72958c3030bbf36 (patch)
tree6e8b66602982730e023860d92a09cb3687d08fee
parent7e007ff83738a83f43cb59ddc023a2b860367074 (diff)
downloadframeworks_base-942085b8eed6a15522e0c030d72958c3030bbf36.zip
frameworks_base-942085b8eed6a15522e0c030d72958c3030bbf36.tar.gz
frameworks_base-942085b8eed6a15522e0c030d72958c3030bbf36.tar.bz2
Potential NPE in SQLiteConnection
Change-Id: I4d768bda5ea2fccb4a7c6ce7a5f074bf41563eac Signed-off-by: Sylvain Becuwe <sylvain.becuwe@gmail.com>
-rw-r--r--core/java/android/database/sqlite/SQLiteConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/database/sqlite/SQLiteConnection.java b/core/java/android/database/sqlite/SQLiteConnection.java
index 6f7c1f3..b2b6106 100644
--- a/core/java/android/database/sqlite/SQLiteConnection.java
+++ b/core/java/android/database/sqlite/SQLiteConnection.java
@@ -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;