Fix #9412
This commit is contained in:
parent
58e37866f6
commit
9c100a0552
1 changed files with 2 additions and 1 deletions
|
@ -682,7 +682,8 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable<PoiUIFilter>
|
|||
if (subtype != null) {
|
||||
PoiCategory c = subtype.getCategory();
|
||||
String typeName = subtype.getKeyName();
|
||||
if (!getAcceptedSubtypes(c).contains(typeName)) {
|
||||
Set<String> acceptedSubtypes = getAcceptedSubtypes(c);
|
||||
if (acceptedSubtypes != null && !acceptedSubtypes.contains(typeName)) {
|
||||
LinkedHashSet<String> typeNames = acceptedTypesOrigin.get(c);
|
||||
if (typeNames == null) {
|
||||
typeNames = new LinkedHashSet<>();
|
||||
|
|
Loading…
Reference in a new issue