diff options
| author | Scott Kennedy <skennedy@google.com> | 2013-01-16 08:39:47 -0800 |
|---|---|---|
| committer | Scott Kennedy <skennedy@google.com> | 2013-01-16 10:07:13 -0800 |
| commit | a8396686a20ec7219efb3d1e7050c1cd999ec83e (patch) | |
| tree | 73a2010ed2fc90f9bd97ccec6be06243a94cff15 /docs/html/training/basics/data-storage/databases.jd | |
| parent | 3c3995f5ab2d0bc38cd06effdd65395a6a9a0ac3 (diff) | |
| download | frameworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.zip frameworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.tar.gz frameworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.tar.bz2 | |
docs: Typos and other fixes
External 42844
External 42778
External 42768
External 42730
External 42720
External 42678
External 39381
Change-Id: Ia9d54ce87dc266650d0620fd3adc63137322e20b
Diffstat (limited to 'docs/html/training/basics/data-storage/databases.jd')
| -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 8b11983..fbefce4 100644 --- a/docs/html/training/basics/data-storage/databases.jd +++ b/docs/html/training/basics/data-storage/databases.jd @@ -286,7 +286,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> @@ -311,7 +311,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, |
