sdedic commented on PR #4383:
URL: https://github.com/apache/netbeans/pull/4383#issuecomment-1185466275

   
   > sorry about that. So `indexer` was still null before the lambda loop is 
run?
   
   Yes, the findBySHA were the only queries / operations that were executed 
during my IDE run, it seems.
   
   > Do you think it would be better to keep it as is but just call 
`initIndexer()` before `iterate()`?
   > 
   
   I'd keep it initialized from within `iterate()` actually the init is done 
from loadIndexingContext2 called from within mutex. But iterate() skips it if 
no repos are configured or indexing is disabled for the repo. I am not sure if 
the laziness is that beneficial, but moving it back to iterate seemed as the 
simplest fix.


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