jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381370 - /jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java
Date Wed, 05 Sep 2012 21:13:26 GMT
Author: pmouawad
Date: Wed Sep  5 21:13:26 2012
New Revision: 1381370

URL: http://svn.apache.org/viewvc?rev=1381370&view=rev
Log:
Make fields final
Make field local

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java?rev=1381370&r1=1381369&r2=1381370&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/visualizers/gui/AbstractVisualizer.java Wed Sep
 5 21:13:26 2012
@@ -113,15 +113,13 @@ public abstract class AbstractVisualizer
     private static final String[] EXTS = { ".jtl", ".csv" }; // $NON-NLS-1$ $NON-NLS-2$
 
     /** A panel allowing results to be saved. */
-    private FilePanel filePanel;
+    private final FilePanel filePanel;
 
     /** A checkbox choosing whether or not only errors should be logged. */
-    private JCheckBox errorLogging;
+    private final JCheckBox errorLogging;
 
     /* A checkbox choosing whether or not only successes should be logged. */
-    private JCheckBox successOnlyLogging;
-
-    private JButton saveConfigButton;
+    private final JCheckBox successOnlyLogging;
 
     protected ResultCollector collector = new ResultCollector();
 
@@ -147,7 +145,7 @@ public abstract class AbstractVisualizer
                 }
             }
         });
-        saveConfigButton = new JButton(JMeterUtils.getResString("config_save_settings"));
// $NON-NLS-1$
+        JButton saveConfigButton = new JButton(JMeterUtils.getResString("config_save_settings"));
// $NON-NLS-1$
         saveConfigButton.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                 SavePropertyDialog d = new SavePropertyDialog(



Mime
View raw message