Remove duplicate code block introduced with commit c3a15cb3 (#36465)

Closes #36464

Signed-off-by: Johannes Knutsen <johannes@knutsen.me>
This commit is contained in:
Johannes Knutsen
2025-01-15 11:50:38 +01:00
committed by GitHub
parent 25953f2fbb
commit 0cc62b520e

View File

@@ -274,10 +274,6 @@ public class HttpClientBuilder {
if (disableCookies) builder.disableCookieManagement();
if (!reuseConnections) {
builder.setConnectionReuseStrategy(new NoConnectionReuseStrategy());
}
return builder.build();
} catch (Exception e) {
throw new RuntimeException(e);