From 5d125d6167a57517296c8c8ea5bdd2366b9f9191 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Tue, 20 Aug 2019 13:02:03 +0200 Subject: Replace Thread.sleep with Await --- src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/gv/egiz') diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java index ec7b7c8..48c1605 100644 --- a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java +++ b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java @@ -398,7 +398,7 @@ public class ConfigUtil { return customHeaders .stream() .collect(toMap( - h -> h.getName(), + CustomHTTPHeaderType::getName, h -> List.of(h.getValue()))); } -- cgit v1.2.3