jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 05/13: Use final as it is a constant (named all upper case)
Date Sat, 10 Oct 2020 11:29:06 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

commit d5bf8ea508e058d127cd07ac1b4bffc32f19dec9
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Thu Oct 8 18:18:23 2020 +0200

    Use final as it is a constant (named all upper case)
---
 .../org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java
index 6844722..c471288 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/util/GraphQLRequestParamUtils.java
@@ -47,7 +47,7 @@ public final class GraphQLRequestParamUtils {
 
     private static Logger log = LoggerFactory.getLogger(GraphQLRequestParamUtils.class);
 
-    private static Pattern WHITESPACES_PATTERN = Pattern.compile("\\p{Space}+");
+    private static final Pattern WHITESPACES_PATTERN = Pattern.compile("\\p{Space}+");
 
     private GraphQLRequestParamUtils() {
     }


Mime
View raw message