jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1859120 - in /jmeter/trunk/src/components/org/apache/jmeter/visualizers: SamplerResultTab.java StatVisualizer.java
Date Sat, 11 May 2019 18:29:45 GMT
Author: fschumacher
Date: Sat May 11 18:29:45 2019
New Revision: 1859120

URL: http://svn.apache.org/viewvc?rev=1859120&view=rev
Log:
Make checkstyle happy

Remove unused imports which accidently got added while working on Bug 63319
Shorten line length which got a bit out of hand while working on the same bug.

Bugzilla Id: 63319
Followup to 1859118

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java?rev=1859120&r1=1859119&r2=1859120&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java Sat May
11 18:29:45 2019
@@ -25,9 +25,7 @@ import java.awt.Component;
 import java.awt.GridLayout;
 import java.text.DateFormat;
 import java.text.SimpleDateFormat;
-import java.util.Arrays;
 import java.util.Date;
-import java.util.EventListener;
 import java.util.LinkedHashMap;
 import java.util.Map.Entry;
 import java.util.Set;
@@ -221,7 +219,8 @@ public abstract class SamplerResultTab i
 
     @Override
     public void init() {
-        rightSide.addTab(JMeterUtils.getResString("view_results_tab_sampler"), createResponseMetadataPanel());
// $NON-NLS-1$
+        rightSide.addTab(
+                JMeterUtils.getResString("view_results_tab_sampler"), createResponseMetadataPanel());
// $NON-NLS-1$
         // Create the panels for the other tabs
         requestPanel = new RequestPanel();
         resultsPane = createResponseDataPanel();

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java?rev=1859120&r1=1859119&r2=1859120&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java Sat May
11 18:29:45 2019
@@ -218,9 +218,12 @@ public class StatVisualizer extends Abst
             }
             try (FileOutputStream fo = new FileOutputStream(chooser.getSelectedFile());
                     OutputStreamWriter writer = new OutputStreamWriter(fo, Charset.forName("UTF-8"))){
-                CSVSaveService.saveCSVStats(StatGraphVisualizer.getAllTableData(model, StatGraphVisualizer.getFormatters()),
-                        writer,
-                        saveHeaders.isSelected() ? StatGraphVisualizer.getLabels(StatGraphVisualizer.getColumns(),
StatGraphVisualizer.getColumnsMsgParameters()) : null);
+                CSVSaveService.saveCSVStats(
+                        StatGraphVisualizer.getAllTableData(model, StatGraphVisualizer.getFormatters()),
writer,
+                        saveHeaders.isSelected()
+                                ? StatGraphVisualizer.getLabels(StatGraphVisualizer.getColumns(),
+                                        StatGraphVisualizer.getColumnsMsgParameters())
+                                : null);
             } catch (IOException e) {
                 JMeterUtils.reportErrorToUser(e.getMessage(), "Error saving data");
             }



Mime
View raw message