No logical change: minor java 8 syntax tweak
@@ -119,9 +119,7 @@ public void handle(HttpRequest req, HttpResponse resp) throws IOException {
.forEach(entry -> {
entry.getValue().stream()
.filter(Objects::nonNull)
- .forEach(value -> {
- resp.addHeader(entry.getKey(), value);
- });
+ .forEach(value -> resp.addHeader(entry.getKey(), value));
});
InputStream in = connection.getErrorStream();
if (in == null) {
