Fix possible NPE
This commit is contained in:
parent
a1a433f11d
commit
56e7bbdb9d
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -23,7 +24,7 @@ public class TravelLocalDataHelper {
|
||||||
|
|
||||||
private WikivoyageLocalDataDbHelper dbHelper;
|
private WikivoyageLocalDataDbHelper dbHelper;
|
||||||
|
|
||||||
private Map<String, WikivoyageSearchHistoryItem> historyMap;
|
private Map<String, WikivoyageSearchHistoryItem> historyMap = new HashMap<>();
|
||||||
private List<TravelArticle> savedArticles = new ArrayList<>();
|
private List<TravelArticle> savedArticles = new ArrayList<>();
|
||||||
|
|
||||||
private Listener listener;
|
private Listener listener;
|
||||||
|
|
Loading…
Reference in a new issue