hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r721808 - /httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
Date Sun, 30 Nov 2008 13:09:39 GMT
Author: olegk
Date: Sun Nov 30 05:09:38 2008
New Revision: 721808

URL: http://svn.apache.org/viewvc?rev=721808&view=rev
Log:
Removed unused local variables

Modified:
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java?rev=721808&r1=721807&r2=721808&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
Sun Nov 30 05:09:38 2008
@@ -211,9 +211,6 @@
     }
 
     public void testSubjectAlt() throws Exception {
-        X509HostnameVerifier DEFAULT = new BrowserCompatHostnameVerifier();
-        X509HostnameVerifier STRICT = new StrictHostnameVerifier();
-        X509HostnameVerifier ALLOW_ALL = new AllowAllHostnameVerifier();
         CertificateFactory cf = CertificateFactory.getInstance("X.509");
         InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT);
         X509Certificate x509 = (X509Certificate) cf.generateCertificate(in);



Mime
View raw message