Skip to content

Commit ec13234

Browse files
nboseckerKevinGilmore
authored andcommitted
fixed imports for sslcontext for apache 4.4 (eugenp#815)
The new test passes, and the maven build succeeded.
1 parent b384c48 commit ec13234

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

httpclient/src/test/java/org/baeldung/httpclient/HttpsClientSslLiveTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import org.apache.http.conn.scheme.SchemeRegistry;
2020
import org.apache.http.conn.ssl.NoopHostnameVerifier;
2121
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
22-
import org.apache.http.conn.ssl.SSLContextBuilder;
23-
import org.apache.http.conn.ssl.SSLContexts;
2422
import org.apache.http.conn.ssl.SSLSocketFactory;
2523
import org.apache.http.conn.ssl.TrustSelfSignedStrategy;
2624
import org.apache.http.conn.ssl.TrustStrategy;
@@ -29,6 +27,8 @@
2927
import org.apache.http.impl.client.HttpClientBuilder;
3028
import org.apache.http.impl.client.HttpClients;
3129
import org.apache.http.impl.conn.PoolingClientConnectionManager;
30+
import org.apache.http.ssl.SSLContextBuilder;
31+
import org.apache.http.ssl.SSLContexts;
3232
import org.junit.Test;
3333

3434
/**

0 commit comments

Comments
 (0)