hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1745909 - /httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/DefaultHostnameVerifier.java
Date Sat, 28 May 2016 17:02:02 GMT
Author: olegk
Date: Sat May 28 17:02:01 2016
New Revision: 1745909

URL: http://svn.apache.org/viewvc?rev=1745909&view=rev
Log:
Cleaned up comments

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=1745909&r1=1745908&r2=1745909&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
Sat May 28 17:02:01 2016
@@ -265,9 +265,9 @@ public final class DefaultHostnameVerifi
                             return value.toString();
                         }
                     } catch (final NoSuchElementException ignore) {
-                        // ignore exception, why?
+                        // ignore exception
                     } catch (final NamingException ignore) {
-                        // ignore exception, why?
+                        // ignore exception
                     }
                 }
             }
@@ -282,7 +282,7 @@ public final class DefaultHostnameVerifi
         try {
             c = cert.getSubjectAlternativeNames();
         } catch(final CertificateParsingException ignore) {
-            // ignore exception, why?
+            return null;
         }
         List<String> subjectAltList = null;
         if (c != null) {



Mime
View raw message