RunDashboard: improve actions

- Start configurations in the order they are presented in the tree.
This commit is contained in:
Konstantin Aleev
2017-07-03 18:35:42 +03:00
parent 1d2b1ec0f2
commit 966cce99ff
@@ -52,7 +52,7 @@ public abstract class RunDashboardTreeLeafAction<T extends DashboardNode> extend
}
private static Set<AbstractTreeNode> getLeaves(Collection<? extends AbstractTreeNode> nodes) {
Set<AbstractTreeNode> result = new HashSet<>();
Set<AbstractTreeNode> result = new LinkedHashSet<>();
for (AbstractTreeNode<?> node : nodes) {
Collection<? extends AbstractTreeNode> children = node.getChildren();
if (children.isEmpty()) {