eirikbakke commented on code in PR #8908:
URL: https://github.com/apache/netbeans/pull/8908#discussion_r2426284241


##########
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:
   Why is this code needed for Favorites but not Projects/Files?
   
   (The PR description mentions an "existing on-first-project-open mechanism", 
but this seems like a new mechanism? EDIT: Ah, I see this is a separate bullet.)
   
   Is this meant for existing users of NetBeans rather than new users?



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