This commit is contained in:
Alexander Sytnyk 2017-07-24 10:43:00 +03:00
parent 1a33c15732
commit 843a1cd4db

View file

@ -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));