Avoid varargs cast warning

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-02-24 21:23:18 +00:00
parent c79ccfe755
commit fb87869f6a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**