diff options
author | Jeffrey Brown <jeffbrown@android.com> | 2013-02-07 04:04:57 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-02-07 04:04:58 +0000 |
commit | ea56499dc36d863f92857ab7f93e5c4436f9654f (patch) | |
tree | 604a0f5a4f630e18d799dbb37f9cb692ae4b995b /core/java/android/database | |
parent | 0d47af1131c4d4f9f29dad790d919d8599e3a3cc (diff) | |
parent | 942085b8eed6a15522e0c030d72958c3030bbf36 (diff) | |
download | frameworks_base-ea56499dc36d863f92857ab7f93e5c4436f9654f.zip frameworks_base-ea56499dc36d863f92857ab7f93e5c4436f9654f.tar.gz frameworks_base-ea56499dc36d863f92857ab7f93e5c4436f9654f.tar.bz2 |
Merge "Potential NPE in SQLiteConnection"
Diffstat (limited to 'core/java/android/database')
-rw-r--r-- | core/java/android/database/sqlite/SQLiteConnection.java | 2 |
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; |