From 360bfcaa2426abe2d3aca5dfbc93752774eeee72 Mon Sep 17 00:00:00 2001 From: Karol Sobczak Date: Tue, 15 Sep 2020 21:11:14 +0200 Subject: [PATCH] Use forEach on collection directly --- .../io/prestosql/sql/planner/LocalDynamicFiltersCollector.java | 1 - 1 file changed, 1 deletion(-) diff --git a/presto-main/src/main/java/io/prestosql/sql/planner/LocalDynamicFiltersCollector.java b/presto-main/src/main/java/io/prestosql/sql/planner/LocalDynamicFiltersCollector.java index daac8223d5ff..895a068a7fb3 100644 --- a/presto-main/src/main/java/io/prestosql/sql/planner/LocalDynamicFiltersCollector.java +++ b/presto-main/src/main/java/io/prestosql/sql/planner/LocalDynamicFiltersCollector.java @@ -67,7 +67,6 @@ public void collectDynamicFilterDomains(Map dynamicFilt { dynamicFilterDomains .entrySet() - .stream() .forEach(entry -> { SettableFuture future = futures.get(entry.getKey()); // Skip dynamic filters that are not applied locally.