jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380571 - /jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java
Date Tue, 04 Sep 2012 11:41:30 GMT
Author: pmouawad
Date: Tue Sep  4 11:41:29 2012
New Revision: 1380571

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

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java?rev=1380571&r1=1380570&r2=1380571&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java Tue Sep  4 11:41:29
2012
@@ -56,8 +56,6 @@ public class FunctionHelper extends JDia
 
     private JLabeledTextField cutPasteFunction;
 
-    private JButton generateButton;
-
     public FunctionHelper() {
         super((JFrame) null, JMeterUtils.getResString("function_helper_title"), false); //$NON-NLS-1$
         init();
@@ -78,7 +76,7 @@ public class FunctionHelper extends JDia
         JPanel resultsPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
         cutPasteFunction = new JLabeledTextField(JMeterUtils.getResString("cut_paste_function"),
35); //$NON-NLS-1$
         resultsPanel.add(cutPasteFunction);
-        generateButton = new JButton(JMeterUtils.getResString("generate")); //$NON-NLS-1$
+        JButton generateButton = new JButton(JMeterUtils.getResString("generate")); //$NON-NLS-1$
         generateButton.addActionListener(this);
         resultsPanel.add(generateButton);
         this.getContentPane().add(resultsPanel, BorderLayout.SOUTH);



Mime
View raw message