fix code style and comments

This commit is contained in:
jacques 2022-03-06 10:48:51 +01:00
parent 0b3a4c8a12
commit 7de2982944

View file

@ -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