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 48dc723d22c52b5605022a8739c9bf65fd0be1ca
Author: Felix Schumacher <[email protected]>
AuthorDate: Wed Feb 2 12:07:17 2022 +0100

    Use space between if and parenthesis
    
    if is not a function.
---
 .../org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.java
 
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.java
index 9588cde..77b3fe2 100644
--- 
a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.java
+++ 
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.java
@@ -62,17 +62,17 @@ public class FormCharSetFinder {
                 String formCharSet = pageEncoding;
                 String acceptCharSet = element.attr("accept-charset");
                 // Check if we found an accept-charset attribute on the form
-                if(acceptCharSet != null) {
+                if (acceptCharSet != null) {
                     String[] charSets = JOrphanUtils.split(acceptCharSet, ",");
                     // Just use the first one of the possible many charsets
-                    if(charSets.length > 0) {
+                    if (charSets.length > 0) {
                         formCharSet = charSets[0].trim();
                         if (formCharSet.isEmpty()) {
                             formCharSet = null;
                         }
                     }
                 }
-                if(formCharSet != null) {
+                if (formCharSet != null) {
                     formEncodings.put(action, formCharSet);
                 }
             }

Reply via email to