hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1733179 - /httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java
Date Tue, 01 Mar 2016 22:40:20 GMT
Author: ggregory
Date: Tue Mar  1 22:40:20 2016
New Revision: 1733179

URL: http://svn.apache.org/viewvc?rev=1733179&view=rev
Log:
Comment empty blocks.

Modified:
    httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java

Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java?rev=1733179&r1=1733178&r2=1733179&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java
(original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java
Tue Mar  1 22:40:20 2016
@@ -263,7 +263,9 @@ public final class DefaultHostnameVerifi
                             return value.toString();
                         }
                     } catch (final NoSuchElementException ignore) {
+                        // ignore exception, why?
                     } catch (final NamingException ignore) {
+                        // ignore exception, why?
                     }
                 }
             }
@@ -278,6 +280,7 @@ public final class DefaultHostnameVerifi
         try {
             c = cert.getSubjectAlternativeNames();
         } catch(final CertificateParsingException ignore) {
+            // ignore exception, why?
         }
         List<String> subjectAltList = null;
         if (c != null) {



Mime
View raw message