Make SQLiteHabitList.toList synchronized
This commit is contained in:
parent
bbb9ed8f99
commit
ef7483f9dc
@ -261,7 +261,7 @@ public class SQLiteHabitList extends HabitList
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected List<Habit> toList()
|
protected synchronized List<Habit> toList()
|
||||||
{
|
{
|
||||||
String query = buildSelectQuery();
|
String query = buildSelectQuery();
|
||||||
List<HabitRecord> recordList = sqlite.query(query, null);
|
List<HabitRecord> recordList = sqlite.query(query, null);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user