Commit a260e4b8 authored by Misagh Moayyed's avatar Misagh Moayyed
Browse files

Fixed checkstyle issue

parent 717e0038
...@@ -18,19 +18,16 @@ ...@@ -18,19 +18,16 @@
*/ */
package org.jasig.cas.util.http; package org.jasig.cas.util.http;
import static org.junit.Assert.assertFalse; import org.apache.http.conn.ssl.NoopHostnameVerifier;
import static org.junit.Assert.assertTrue; import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.junit.Test;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLContext; import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager; import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager; import javax.net.ssl.X509TrustManager;
import java.security.cert.X509Certificate;
import org.apache.http.conn.ssl.NoopHostnameVerifier; import static org.junit.Assert.*;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.junit.Ignore;
import org.junit.Test;
/** /**
* Test cases for {@link SimpleHttpClient}. * Test cases for {@link SimpleHttpClient}.
...@@ -72,6 +69,7 @@ public class SimpleHttpClientTests { ...@@ -72,6 +69,7 @@ public class SimpleHttpClientTests {
private SSLConnectionSocketFactory getFriendlyToAllSSLSocketFactory() throws Exception { private SSLConnectionSocketFactory getFriendlyToAllSSLSocketFactory() throws Exception {
final TrustManager trm = new X509TrustManager() { final TrustManager trm = new X509TrustManager() {
@Override
public X509Certificate[] getAcceptedIssuers() { public X509Certificate[] getAcceptedIssuers() {
return null; return null;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment