You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2018/02/12 12:43:40 UTC
svn commit: r1823958 -
/jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java
Author: fschumacher
Date: Mon Feb 12 12:43:40 2018
New Revision: 1823958
URL: http://svn.apache.org/viewvc?rev=1823958&view=rev
Log:
spacepolice. Closes #358
Modified:
jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java
Modified: jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java?rev=1823958&r1=1823957&r2=1823958&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java Mon Feb 12 12:43:40 2018
@@ -140,7 +140,7 @@ public class ModuleControllerGui extends
@Override
public void setSelectionPaths(TreePath[] pPaths) {
DefaultMutableTreeNode lastSelected = (DefaultMutableTreeNode) pPaths[pPaths.length-1].getLastPathComponent();
- if(isSelectedPathAllowed(lastSelected)) {
+ if (isSelectedPathAllowed(lastSelected)) {
super.setSelectionPaths(pPaths);
}
}
@@ -148,7 +148,7 @@ public class ModuleControllerGui extends
@Override
public void addSelectionPath(TreePath path) {
DefaultMutableTreeNode lastSelected = (DefaultMutableTreeNode) path.getLastPathComponent();
- if(isSelectedPathAllowed(lastSelected)) {
+ if (isSelectedPathAllowed(lastSelected)) {
super.addSelectionPath(path);
}
}
@@ -156,7 +156,7 @@ public class ModuleControllerGui extends
@Override
public void addSelectionPaths(TreePath[] paths) {
DefaultMutableTreeNode lastSelected = (DefaultMutableTreeNode) paths[paths.length-1].getLastPathComponent();
- if(isSelectedPathAllowed(lastSelected)) {
+ if (isSelectedPathAllowed(lastSelected)) {
super.addSelectionPaths(paths);
}
}
@@ -375,7 +375,7 @@ public class ModuleControllerGui extends
//expand Module to run tree to selected node and set selection path to it
this.focusSelectedOnTree(selected);
}
- if(!hasAtLeastOneController) {
+ if (!hasAtLeastOneController) {
warningLabel.setText(JMeterUtils.getResString("module_controller_warning_no_controller"));
warningLabel.setVisible(true);
}