More robust multiexpression filtering (#206)

This commit is contained in:
Michael Barry
2022-05-04 20:30:47 -04:00
committed by GitHub
parent b790ad8cd6
commit a70a507e47

View File

@@ -116,7 +116,7 @@ public class BasemapProfile extends ForwardingProfile {
})
.toList();
return new RowDispatch(constructor.create(), handlers);
}).simplify().index();
}).simplify().indexAndWarn();
wikidataMappings = Tables.MAPPINGS
.mapResults(constructor -> handlerMap.getOrDefault(constructor.rowClass(), List.of()).stream()
.anyMatch(handler -> !IgnoreWikidata.class.isAssignableFrom(handler.handlerClass()))