Comment empty blocks.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1733182 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
129fc09f42
commit
52c68d6a4f
|
@ -263,6 +263,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
|
|||
return value.toString();
|
||||
}
|
||||
} catch (NoSuchElementException | NamingException ignore) {
|
||||
// ignore exception, why?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -277,6 +278,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
|
|||
try {
|
||||
c = cert.getSubjectAlternativeNames();
|
||||
} catch(final CertificateParsingException ignore) {
|
||||
// ignore exception, why?
|
||||
}
|
||||
List<String> subjectAltList = null;
|
||||
if (c != null) {
|
||||
|
|
Loading…
Reference in New Issue