hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r940070 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
Date Sat, 01 May 2010 16:19:19 GMT
Author: sebb
Date: Sat May  1 16:19:18 2010
New Revision: 940070

URL: http://svn.apache.org/viewvc?rev=940070&view=rev
Log:
Stop warning about deliberate unnecessary cast

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

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java?rev=940070&r1=940069&r2=940070&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
Sat May  1 16:19:18 2010
@@ -337,6 +337,7 @@ public class SSLSocketFactory implements
     /**
      * @since 4.1
      */
+    @SuppressWarnings("cast")
     public Socket createSocket(final HttpParams params) throws IOException {
         // the cast makes sure that the factory is working as expected
         return (SSLSocket) this.socketfactory.createSocket();



Mime
View raw message