Skip to content

Commit

Permalink
filter out null entries, allowing skipping of OSM read when no profil…
Browse files Browse the repository at this point in the history
…e needs OSM data
  • Loading branch information
phanecak-maptiler committed Feb 28, 2024
1 parent d703b62 commit 80ff95d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public <U> MultiExpression<U> mapResults(Function<T, U> fn) {
return new MultiExpression<>(
expressions.stream()
.map(entry -> entry(fn.apply(entry.result), entry.expression))
.filter(entry -> entry.result != null)
.toList()
);
}
Expand Down

0 comments on commit 80ff95d

Please sign in to comment.