mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Make SQLiteHabitList.toList synchronized
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user