From fb87869f6aa02cf9a20de723659305fc8d642d8f Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 24 Feb 2014 21:23:18 +0000 Subject: [PATCH] Avoid varargs cast warning git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571443 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/http/conn/HttpHostConnectException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java b/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java index 56c1d19e2..fa88a45cf 100644 --- a/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java +++ b/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java @@ -53,7 +53,7 @@ public class HttpHostConnectException extends ConnectException { */ @Deprecated public HttpHostConnectException(final HttpHost host, final ConnectException cause) { - this(cause, host, null); + this(cause, host, (InetAddress[]) null); } /**