neilcsmith-net commented on code in PR #9670:
URL: https://github.com/apache/netbeans/pull/9670#discussion_r4204920147


##########
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:
   Agreed!  With the obligatory, that discussion really belongs on dev@ :smile: 
   
   > created by 6a3ae0aed18ca3e6a7af31901311ee63bd798351used only by Maven 
support for not clear reasons
   
   I intended to bring this up in the dev@ discussion that Groups can have 
different settings.  Maven support can theoretically have a different Maven 
Home for each group configured under group properties.  I think this is for 
that. Not sure how well we test that feature, and not that useful compared to 
pushing `mvnw` anyway.
   
   Still, anything taking an enhanced group perspective can probably look to 
provide more group oriented settings available, and provide an easier UI for 
them.



-- 
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

Reply via email to