You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2020/08/30 08:01:39 UTC

[jmeter] 06/06: Spacepolice

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 ebb0492e1ad20f33cfdac2b7f70d59500bb741b1
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Wed Aug 26 12:36:31 2020 +0200

    Spacepolice
    
    Add a space between if and the parenthesis
---
 .../org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
index d542faf..5742847 100644
--- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
+++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/gui/RecorderDialog.java
@@ -230,11 +230,11 @@ public class RecorderDialog extends JDialog implements ItemListener, KeyListener
     @Override
     public void keyReleased(KeyEvent e) {
         String fieldName = e.getComponent().getName();
-        if(fieldName.equals(ProxyControlGui.PREFIX_HTTP_SAMPLER_NAME)) {
+        if (fieldName.equals(ProxyControlGui.PREFIX_HTTP_SAMPLER_NAME)) {
             recorderGui.setPrefixHTTPSampleName(prefixHTTPSampleName.getText());
         } else if (fieldName.equals(ProxyControlGui.HTTP_SAMPLER_NAME_FORMAT)) {
             recorderGui.setSampleNameFormat(sampleNameFormat.getText());
-        } else if(fieldName.equals(ProxyControlGui.PROXY_PAUSE_HTTP_SAMPLER)) {
+        } else if (fieldName.equals(ProxyControlGui.PROXY_PAUSE_HTTP_SAMPLER)) {
             try {
                 Long.parseLong(proxyPauseHTTPSample.getText());
             } catch (NumberFormatException nfe) {