[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: svn commit: r1745909 - /httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache
From: olegk () apache ! org
Date: 2016-05-28 17:02:02
Message-ID: 20160528170202.051103A0119 () svn01-us-west ! apache ! org
[Download RAW message or body]
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) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic