This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 6f5ac52 Fix ExplorerManager#setSelectedNodes() new 3686234 Merge pull request #1151 from sjaenick/explorermanager-nodeselection-257181 6f5ac52 is described below commit 6f5ac529e3171969713cdca3b0c7a42d858fb6ad Author: Sebastian Jaenicke <sjaen...@cebitec.uni-bielefeld.de> AuthorDate: Sun Mar 3 12:11:54 2019 +0100 Fix ExplorerManager#setSelectedNodes() --- platform/openide.explorer/src/org/openide/explorer/ExplorerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/openide.explorer/src/org/openide/explorer/ExplorerManager.java b/platform/openide.explorer/src/org/openide/explorer/ExplorerManager.java index 85ff05f..5a170a5 100644 --- a/platform/openide.explorer/src/org/openide/explorer/ExplorerManager.java +++ b/platform/openide.explorer/src/org/openide/explorer/ExplorerManager.java @@ -227,7 +227,7 @@ public final class ExplorerManager extends Object implements Serializable, Clone if (validNodes == null) { validNodes = new ArrayList<Node>(value.length); for (int j = 0; j < i; j++) { - validNodes.add(value[i]); + validNodes.add(value[j]); } } } else if (validNodes != null) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists