Polish "Use Collection.removeIf() where possible"

Closes gh-13871
pull/14003/head
Stephane Nicoll 6 years ago
parent 1189ccc936
commit 1a0afc6bbe

@ -102,7 +102,7 @@ public class HttpExchangeTracer {
return new LinkedHashMap<>();
}
Map<String, List<String>> headers = headersSupplier.get();
headers.keySet().removeIf(s -> !headerPredicate.test(s));
headers.keySet().removeIf((header) -> !headerPredicate.test(header));
return headers;
}

Loading…
Cancel
Save