kopia lustrzana https://github.com/onthegomap/planetiler
filter out null entries, allowing skipping of OSM read when no profile needs OSM data (#822)
rodzic
d703b626ad
commit
40e64a2fd3
|
@ -148,6 +148,7 @@ public record MultiExpression<T> (List<Entry<T>> expressions) implements Simplif
|
|||
return new MultiExpression<>(
|
||||
expressions.stream()
|
||||
.map(entry -> entry(fn.apply(entry.result), entry.expression))
|
||||
.filter(entry -> entry.result != null)
|
||||
.toList()
|
||||
);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue