Make SQLiteHabitList.toList synchronized

This commit is contained in:
2017-05-27 23:37:24 -04:00
parent bbb9ed8f99
commit ef7483f9dc

View File

@@ -261,7 +261,7 @@ public class SQLiteHabitList extends HabitList
}
}
protected List<Habit> toList()
protected synchronized List<Habit> toList()
{
String query = buildSelectQuery();
List<HabitRecord> recordList = sqlite.query(query, null);