diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-04-08 15:40:31 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-04-08 15:40:31 +0200 |
commit | 3812f4737bfb6fb0f9422a5e96daa35792949266 (patch) | |
tree | f8fb68590cc83a6de806b0d5e56bd9bd40e65c00 /service-monitor | |
parent | 25757002b0c741d48cffbc30f7a0cbfe992727d8 (diff) |
Remove unused parameter
Diffstat (limited to 'service-monitor')
-rw-r--r-- | service-monitor/src/main/java/com/yahoo/vespa/service/health/ApacheHttpClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service-monitor/src/main/java/com/yahoo/vespa/service/health/ApacheHttpClient.java b/service-monitor/src/main/java/com/yahoo/vespa/service/health/ApacheHttpClient.java index dfd2123a849..59144b15539 100644 --- a/service-monitor/src/main/java/com/yahoo/vespa/service/health/ApacheHttpClient.java +++ b/service-monitor/src/main/java/com/yahoo/vespa/service/health/ApacheHttpClient.java @@ -27,7 +27,7 @@ class ApacheHttpClient implements AutoCloseable { T handle(CloseableHttpResponse httpResponse) throws Exception; } - static CloseableHttpClient makeCloseableHttpClient(URL url, Duration timeout, Duration keepAlive) { + static CloseableHttpClient makeCloseableHttpClient(Duration timeout, Duration keepAlive) { RequestConfig requestConfig = RequestConfig.custom() .setConnectTimeout((int) timeout.toMillis()) // establishment of connection .setConnectionRequestTimeout((int) timeout.toMillis()) // connection from connection manager @@ -54,7 +54,7 @@ class ApacheHttpClient implements AutoCloseable { } ApacheHttpClient(URL url, Duration timeout, Duration keepAlive) { - this(url, makeCloseableHttpClient(url, timeout, keepAlive)); + this(url, makeCloseableHttpClient(timeout, keepAlive)); } ApacheHttpClient(URL url, CloseableHttpClient client) { |