[HTTPCLIENT-1898] Incorrect comment in example class
ClientMultiThreadedExecution.java
This commit is contained in:
parent
68fd176c07
commit
ceec7eeaa6
|
@ -1,4 +1,14 @@
|
||||||
Release 5.0-BETA1
|
Release 5.0-BETA2
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Changelog:
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
* HTTPCLIENT-1898: Incorrect comment in example class ClientMultiThreadedExecution.java
|
||||||
|
Contributed by Ulrich Romahn <ulrich at ulrichromahn dot net>
|
||||||
|
|
||||||
|
|
||||||
|
Release 5.0-BETA1
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
This is the first BETA release of HttpClient 5.0. The 5.0 release serices introduces
|
This is the first BETA release of HttpClient 5.0. The 5.0 release serices introduces
|
||||||
|
|
|
@ -43,7 +43,7 @@ import org.apache.hc.core5.http.protocol.HttpContext;
|
||||||
public class ClientMultiThreadedExecution {
|
public class ClientMultiThreadedExecution {
|
||||||
|
|
||||||
public static void main(final String[] args) throws Exception {
|
public static void main(final String[] args) throws Exception {
|
||||||
// Create an HttpClient with the ThreadSafeClientConnManager.
|
// Create an HttpClient with the PoolingHttpClientConnectionManager.
|
||||||
// This connection manager must be used if more than one thread will
|
// This connection manager must be used if more than one thread will
|
||||||
// be using the HttpClient.
|
// be using the HttpClient.
|
||||||
final PoolingHttpClientConnectionManager cm = new PoolingHttpClientConnectionManager();
|
final PoolingHttpClientConnectionManager cm = new PoolingHttpClientConnectionManager();
|
||||||
|
|
Loading…
Reference in New Issue