jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1833593 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
Date Fri, 15 Jun 2018 12:52:15 GMT
Author: pmouawad
Date: Fri Jun 15 12:52:15 2018
New Revision: 1833593

URL: http://svn.apache.org/viewvc?rev=1833593&view=rev
Log:
Remove unused variable assignment.

Contributed by Graham Russell 

This closes #372

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java?rev=1833593&r1=1833592&r2=1833593&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java Fri Jun 15 12:52:15 2018
@@ -144,7 +144,6 @@ public class Save extends AbstractAction
         else if (e.getActionCommand().equals(ActionNames.SAVE_AS_TEST_FRAGMENT)) {
             JMeterTreeNode[] nodes = GuiPackage.getInstance().getTreeListener().getSelectedNodes();
             if(checkAcceptableForTestFragment(nodes)) {
-                subTree = GuiPackage.getInstance().getCurrentSubTree();
                 // Create Test Fragment node
                 TestElement element = GuiPackage.getInstance().createTestElement(TestFragmentControllerGui.class.getName());
                 HashTree hashTree = new ListedHashTree();



Mime
View raw message