From 52c68d6a4f1a14e88f9817270580bb384138040d Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 1 Mar 2016 22:53:05 +0000 Subject: [PATCH] Comment empty blocks. git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1733182 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hc/client5/http/ssl/DefaultHostnameVerifier.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/DefaultHostnameVerifier.java b/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/DefaultHostnameVerifier.java index 57942821b..40b1ce11b 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/DefaultHostnameVerifier.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/DefaultHostnameVerifier.java @@ -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 subjectAltList = null; if (c != null) {