Unnecessary final modifier in final class.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1676915 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2015-04-30 07:55:16 +00:00
parent 6f4a762197
commit 2fddd8e03b
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
}
@Override
public final boolean verify(final String host, final SSLSession session) {
public boolean verify(final String host, final SSLSession session) {
try {
final Certificate[] certs = session.getPeerCertificates();
final X509Certificate x509 = (X509Certificate) certs[0];
@ -94,7 +94,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
}
}
public final void verify(
public void verify(
final String host, final X509Certificate cert) throws SSLException {
final boolean ipv4 = InetAddressUtils.isIPv4Address(host);
final boolean ipv6 = InetAddressUtils.isIPv6Address(host);