summaryrefslogtreecommitdiffstats
path: root/core/java/android/database
diff options
context:
space:
mode:
authorJeffrey Brown <jeffbrown@android.com>2013-02-06 20:53:10 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-02-06 20:53:10 -0800
commite646f943fd7c4f9d81a4f2fb4de153a2ad9fd8bc (patch)
tree6f840938209e3a668591dcfa062b44edc3151919 /core/java/android/database
parentf2873456dd2c7f93b63d4bd6bc0c742dfd153b62 (diff)
parentca7b1210292c2fc80fd40f1f4c8662a1faf0b7a5 (diff)
downloadframeworks_base-e646f943fd7c4f9d81a4f2fb4de153a2ad9fd8bc.zip
frameworks_base-e646f943fd7c4f9d81a4f2fb4de153a2ad9fd8bc.tar.gz
frameworks_base-e646f943fd7c4f9d81a4f2fb4de153a2ad9fd8bc.tar.bz2
am ca7b1210: am ea56499d: Merge "Potential NPE in SQLiteConnection"
# By Sylvain Becuwe # Via Android Git Automerger (1) and others * commit 'ca7b1210292c2fc80fd40f1f4c8662a1faf0b7a5': Potential NPE in SQLiteConnection
Diffstat (limited to 'core/java/android/database')
-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;