jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Split long lines
Date Sat, 09 May 2020 09:55:45 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new dc3d0e3  Split long lines
dc3d0e3 is described below

commit dc3d0e3bb700429e4bd3bcc3ace7a7f277e62e36
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sat May 9 11:55:31 2020 +0200

    Split long lines
---
 .../java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
index ee79e64..8d4dd85 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
@@ -438,7 +438,9 @@ public class HTTPHC4Impl extends HTTPHCAbstractImpl {
     /**
      * 1 HttpClient instance per combination of (HttpClient,HttpClientKey)
      */
-    private static final ThreadLocal<Map<HttpClientKey, MutableTriple<CloseableHttpClient,
AuthState, PoolingHttpClientConnectionManager>>>HTTPCLIENTS_CACHE_PER_THREAD_AND_HTTPCLIENTKEY
= new InheritableThreadLocal<Map<HttpClientKey, MutableTriple<CloseableHttpClient,
AuthState, PoolingHttpClientConnectionManager>>>() {
+    private static final ThreadLocal<Map<HttpClientKey, MutableTriple<CloseableHttpClient,
AuthState, PoolingHttpClientConnectionManager>>>
+            HTTPCLIENTS_CACHE_PER_THREAD_AND_HTTPCLIENTKEY = new InheritableThreadLocal<Map<HttpClientKey,
+                    MutableTriple<CloseableHttpClient, AuthState, PoolingHttpClientConnectionManager>>>()
{
         @Override
         protected Map<HttpClientKey, MutableTriple<CloseableHttpClient, AuthState,
PoolingHttpClientConnectionManager>> initialValue() {
             return new HashMap<>(5);


Mime
View raw message