Minor refactoring

This commit is contained in:
2016-04-04 05:43:07 -04:00
parent 0de52d4fa3
commit 96c46b655d
2 changed files with 2 additions and 4 deletions

View File

@@ -207,10 +207,10 @@ public class CheckmarkList
try
{
SQLiteStatement statement = db.compileStatement(query);
statement.bindString(1, habit.getId().toString());
for (int i = 0; i < timestamps.length; i++)
{
statement.bindLong(1, habit.getId());
statement.bindLong(2, timestamps[i]);
statement.bindLong(3, values[i]);
statement.execute();