JaroslavTulach commented on a change in pull request #2386:
URL: https://github.com/apache/netbeans/pull/2386#discussion_r493159952
##########
File path:
ide/projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java
##########
@@ -441,12 +441,18 @@ boolean closeBeforeOpen(final Project[] arr) {
}
});
}
-
+
+ @NbBundle.Messages({
+ "LOAD_PROJECTS_ON_START=true"
+ })
private void loadOnBackground() {
- lazilyOpenedProjects = new ArrayList<Project>();
- List<URL> URLs =
OpenProjectListSettings.getInstance().getOpenProjectsURLs();
- final List<Project> initial = new ArrayList<Project>();
- final LinkedList<Project> projects = URLs2Projects(URLs);
+ lazilyOpenedProjects = new ArrayList<>();
+ final boolean loadProjectsOnStart =
"true".equals(Bundle.LOAD_PROJECTS_ON_START());
Review comment:
Yes, it is used at many places, controlling behavior of splash screen,
controlling behavior of window system. We even have `<api
group='branding'..../>` for that case - here is the current [list of branding
APIs](https://bits.netbeans.org/dev/javadoc/branding.html).
----------------------------------------------------------------
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.
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