mbien commented on PR #8019: URL: https://github.com/apache/netbeans/pull/8019#issuecomment-2901048166
> > what is the purpose of the empty loop? > > It was there to initialize the computer. But turned out I can simply instantiate it, and it (hopefully) works as well, using `Session` instead of `ContextProvider`). I guessed that something like that might have been the reason for it. I was just thinking since lookup returns a List and no lazily initialized structure, it could have been already sufficient without the loop itself. But the new impl is more direct and less mysterious - thanks. -- 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
