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:
Oleg Kalnichevski 2016-05-28 17:00:08 +00:00
parent facf463c44
commit da8e60b2a4
1 changed files with 2 additions and 2 deletions

View File

@ -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) {