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 (#822)
  • Loading branch information
phanecak-maptiler authored Feb 29, 2024
1 parent d703b62 commit 40e64a2
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 40e64a2

Please sign in to comment.