mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
fix code style and comments
This commit is contained in:
parent
0b3a4c8a12
commit
7de2982944
1 changed files with 4 additions and 4 deletions
|
@ -317,7 +317,7 @@ class DBHelper extends SQLiteOpenHelper {
|
|||
// Get reference to writable DB
|
||||
SQLiteDatabase db = this.getWritableDatabase();
|
||||
|
||||
// Create ContentValues to add columnm/value
|
||||
// Create ContentValues to add column/value
|
||||
ContentValues values = new ContentValues();
|
||||
values.put(KEY_ID, drug.getId());
|
||||
values.put(KEY_CIS, drug.getCis());
|
||||
|
@ -333,9 +333,9 @@ class DBHelper extends SQLiteOpenHelper {
|
|||
|
||||
String[] selectionArgs = { String.valueOf(drug.getId()) };
|
||||
|
||||
db.update(TABLE_DRUG, // table
|
||||
values, // column/value
|
||||
KEY_ID + " = ?", // selections
|
||||
db.update(TABLE_DRUG, // table
|
||||
values, // column/value
|
||||
KEY_ID + " = ?", // selections
|
||||
selectionArgs);
|
||||
|
||||
// Close DB
|
||||
|
|
Loading…
Reference in a new issue