You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/12/20 09:20:10 UTC

svn commit: r1818756 - /jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java

Author: pmouawad
Date: Wed Dec 20 09:20:10 2017
New Revision: 1818756

URL: http://svn.apache.org/viewvc?rev=1818756&view=rev
Log:
Drop mention of workbench

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java?rev=1818756&r1=1818755&r2=1818756&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java Wed Dec 20 09:20:10 2017
@@ -35,7 +35,7 @@ import org.apache.jmeter.gui.JMeterGUICo
 import org.apache.jmeter.gui.util.MenuFactory;
 import org.apache.jmeter.testelement.TestElement;
 import org.apache.jmeter.testelement.TestPlan;
-import org.apache.jmeter.testelement.WorkBench;
+import org.apache.jmeter.testelement.WorkBench; // NOSONAR We need this for backward compatibility
 import org.apache.jorphan.collections.HashTree;
 import org.apache.jorphan.collections.ListedHashTree;
 
@@ -232,7 +232,7 @@ public class JMeterTreeModel extends Def
 
 
     /**
-     * Clear the test plan, and use default node for test plan and workbench.
+     * Clear the test plan, and use default node for test plan.
      *
      * N.B. Should only be called by {@link GuiPackage#clearTestPlan()}
      */
@@ -242,14 +242,14 @@ public class JMeterTreeModel extends Def
     }
 
     /**
-     * Clear the test plan, and use specified node for test plan and default node for workbench
+     * Clear the test plan, and use specified node for test plan
      *
      * N.B. Should only be called by {@link GuiPackage#clearTestPlan(TestElement)}
      *
      * @param testPlan the node to use as the testplan top node
      */
     public void clearTestPlan(TestElement testPlan) {
-        // Remove the workbench and testplan nodes
+        // Remove testplan nodes
         int children = getChildCount(getRoot());
         while (children > 0) {
             JMeterTreeNode child = (JMeterTreeNode)getChild(getRoot(), 0);
@@ -261,7 +261,7 @@ public class JMeterTreeModel extends Def
     }
 
     /**
-     * Initialize the model with nodes for testplan and workbench.
+     * Initialize the model with nodes for testplan.
      *
      * @param tp the element to use as testplan
      */