FIx NPE
This commit is contained in:
parent
da7871dfca
commit
cf6bcde867
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable<PoiUIFilter>
|
|||
|
||||
private void putAllAcceptedTypes(Map<PoiCategory, LinkedHashSet<String>> types) {
|
||||
for (PoiCategory category : types.keySet()) {
|
||||
if (acceptedTypes.containsKey(category)) {
|
||||
if (acceptedTypes.get(category) != null) {
|
||||
acceptedTypes.get(category).addAll(types.get(category));
|
||||
} else {
|
||||
acceptedTypes.put(category, types.get(category));
|
||||
|
|
Loading…
Reference in a new issue