jtulach commented on code in PR #9670:
URL: https://github.com/apache/netbeans/pull/9670#discussion_r4204556069
##########
ide/projectui/src/org/netbeans/modules/project/ui/groups/Group.java:
##########
@@ -184,7 +184,7 @@ public static void setActiveGroup(Group nue, boolean
isNewGroup) {
}
} else {
OpenProjectListSettings settings =
OpenProjectListSettings.getInstance();
- settings.setOpenProjectsURLsAsStrings(nue != null ?
nue.projectPaths() : getProjectPathsByPreferences(noneGroupPref));
+ settings.setOpenProjectsURLsAsStrings(nue != null ?
nue.projectPaths() : Collections.emptyList());
Review Comment:
Here is the new approach:
- let `--close-group` not only close the group (if any)
- but also empty the list of projects
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists