hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1571443 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java
Date Mon, 24 Feb 2014 21:23:18 GMT
Author: sebb
Date: Mon Feb 24 21:23:18 2014
New Revision: 1571443

URL: http://svn.apache.org/r1571443
Log:
Avoid varargs cast warning

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java?rev=1571443&r1=1571442&r2=1571443&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/HttpHostConnectException.java
Mon Feb 24 21:23:18 2014
@@ -53,7 +53,7 @@ public class HttpHostConnectException ex
      */
     @Deprecated
     public HttpHostConnectException(final HttpHost host, final ConnectException cause) {
-        this(cause, host, null);
+        this(cause, host, (InetAddress[]) null);
     }
 
     /**



Mime
View raw message