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