Cleaned up comments
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1745907 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
facf463c44
commit
da8e60b2a4
|
@ -265,7 +265,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
|
|||
return value.toString();
|
||||
}
|
||||
} catch (NoSuchElementException | NamingException ignore) {
|
||||
// ignore exception, why?
|
||||
// ignore exception
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -280,7 +280,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
|
|||
try {
|
||||
c = cert.getSubjectAlternativeNames();
|
||||
} catch(final CertificateParsingException ignore) {
|
||||
// ignore exception, why?
|
||||
return null;
|
||||
}
|
||||
List<String> subjectAltList = null;
|
||||
if (c != null) {
|
||||
|
|
Loading…
Reference in New Issue