neilcsmith-net commented on code in PR #8908: URL: https://github.com/apache/netbeans/pull/8908#discussion_r2426310893
########## platform/favorites/src/org/netbeans/modules/favorites/Module.java: ########## @@ -53,10 +68,38 @@ public void run() { shortcuts.add(file); } } - return shortcuts.toArray(new File[0]); + return shortcuts.toArray(File[]::new); }; UIManager.put(LFCustoms.FILECHOOSER_SHORTCUTS_FILESFUNCTION, favAppender); } + + // very first open editor tab event will also open the Favorites tab Review Comment: Because it's handled in ergonomics. Which actually makes me wonder whether this behaviour needs to be part of ergonomics too? -- 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: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists