diff options
| author | kmccormick <kmccormick@google.com> | 2013-03-29 14:12:44 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2013-03-29 14:12:44 -0700 |
| commit | a80a71648ac9cb306007e67afbc4bedb4debf899 (patch) | |
| tree | bce755ae3ed0b034112131b3e5afee38d3526dc2 /docs/html | |
| parent | 7c805a0e0eb42244438c83678f103c4bb7071a4b (diff) | |
| parent | 859a4301d83bf894ffd79e4f3d8abf82ce1143c5 (diff) | |
| download | frameworks_base-a80a71648ac9cb306007e67afbc4bedb4debf899.zip frameworks_base-a80a71648ac9cb306007e67afbc4bedb4debf899.tar.gz frameworks_base-a80a71648ac9cb306007e67afbc4bedb4debf899.tar.bz2 | |
am 859a4301: am 4e259b2c: am 0e6691be: Merge "Doc update: typos in code snippets." into jb-mr1.1-docs
* commit '859a4301d83bf894ffd79e4f3d8abf82ce1143c5':
Doc update: typos in code snippets.
Diffstat (limited to 'docs/html')
| -rw-r--r-- | docs/html/training/basics/data-storage/databases.jd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/training/basics/data-storage/databases.jd b/docs/html/training/basics/data-storage/databases.jd index 9976bb1..61fb758 100644 --- a/docs/html/training/basics/data-storage/databases.jd +++ b/docs/html/training/basics/data-storage/databases.jd @@ -284,7 +284,7 @@ immune to SQL injection.</p> // Define 'where' part of query. String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + " LIKE ?"; // Specify arguments in placeholder order. -String[] selelectionArgs = { String.valueOf(rowId) }; +String[] selectionArgs = { String.valueOf(rowId) }; // Issue SQL statement. db.delete(table_name, selection, selectionArgs); </pre> @@ -309,7 +309,7 @@ values.put(FeedReaderContract.FeedEntry.COLUMN_NAME_TITLE, title); // Which row to update, based on the ID String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + " LIKE ?"; -String[] selelectionArgs = { String.valueOf(rowId) }; +String[] selectionArgs = { String.valueOf(rowId) }; int count = db.update( FeedReaderDbHelper.FeedEntry.TABLE_NAME, |
