jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1613724 - /jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java
Date Sat, 26 Jul 2014 21:18:27 GMT
Author: pmouawad
Date: Sat Jul 26 21:18:27 2014
New Revision: 1613724

URL: http://svn.apache.org/r1613724
Log:
Bug 56728 - New Critical Section Controller to serialize blocks of a Test
Fix javadocs as per sebb notes on dev mailing list
Bugzilla Id: 56728

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java?rev=1613724&r1=1613723&r2=1613724&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/gui/CriticalSectionControllerGui.java
Sat Jul 26 21:18:27 2014
@@ -44,8 +44,7 @@ public class CriticalSectionControllerGu
     private static final long serialVersionUID = 7177285850634344095L;
 
     /**
-     * A field allowing the user to specify the number of times the controller
-     * should loop.
+     * A field allowing the user to specify the lock name
      */
     private JTextField tfLockName;
 
@@ -57,14 +56,14 @@ public class CriticalSectionControllerGu
     private boolean displayName = true;
 
     /**
-     * Create a new LoopControlPanel as a standalone component.
+     * Create a new CriticalSection Panel as a standalone component.
      */
     public CriticalSectionControllerGui() {
         this(true);
     }
 
     /**
-     * Create a new IfControllerPanel as either a standalone or an embedded
+     * Create a new CriticalSectionPanel as either a standalone or an embedded
      * component.
      * 
      * @param displayName
@@ -144,22 +143,22 @@ public class CriticalSectionControllerGu
             add(makeTitlePanel(), BorderLayout.NORTH);
 
             JPanel mainPanel = new JPanel(new BorderLayout());
-            mainPanel.add(createConditionPanel(), BorderLayout.NORTH);
+            mainPanel.add(createCriticalSectionPanel(), BorderLayout.NORTH);
             add(mainPanel, BorderLayout.CENTER);
 
         } else {
             // Embedded
             setLayout(new BorderLayout());
-            add(createConditionPanel(), BorderLayout.NORTH);
+            add(createCriticalSectionPanel(), BorderLayout.NORTH);
         }
     }
 
     /**
-     * Create a GUI panel containing the condition.
+     * Create a GUI panel containing the lockName
      * 
-     * @return a GUI panel containing the condition components
+     * @return a GUI panel containing the lock name components
      */
-    private JPanel createConditionPanel() {
+    private JPanel createCriticalSectionPanel() {
         JPanel conditionPanel = new JPanel(new BorderLayout(5, 0));
 
         // Condition LABEL



Mime
View raw message