jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380338 - /jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java
Date Mon, 03 Sep 2012 20:09:43 GMT
Author: pmouawad
Date: Mon Sep  3 20:09:43 2012
New Revision: 1380338

URL: http://svn.apache.org/viewvc?rev=1380338&view=rev
Log:
make field local var

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java?rev=1380338&r1=1380337&r2=1380338&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java Mon Sep
 3 20:09:43 2012
@@ -104,9 +104,6 @@ public class AssertionGui extends Abstra
     /** A table of patterns to test against. */
     private JTable stringTable;
 
-    /** Button to add a new pattern. */
-    private JButton addPattern;
-
     /** Button to delete a pattern. */
     private JButton deletePattern;
 
@@ -376,7 +373,7 @@ public class AssertionGui extends Abstra
      * @return the new panel with add and delete buttons
      */
     private JPanel createButtonPanel() {
-        addPattern = new JButton(JMeterUtils.getResString("add")); //$NON-NLS-1$
+        JButton addPattern = new JButton(JMeterUtils.getResString("add")); //$NON-NLS-1$
         addPattern.addActionListener(new AddPatternListener());
 
         deletePattern = new JButton(JMeterUtils.getResString("delete")); //$NON-NLS-1$



Mime
View raw message