lkishalmi commented on PR #4459: URL: https://github.com/apache/netbeans/pull/4459#issuecomment-1203059616
@mbien Well, that's true about the ArrayList, I'd expect 1-2 elements of this returned list, that's why I choose the Linked one. Telling the truth, I would get rid of the whole method. When it is called, it means that we have two debugger support listening on the same action causing trouble like #4442. Instead of trying to resolve that issue with the heuristic applied by the path. I would pick the first one (should be ordered by the lookup position property) and write a warning message on the console. That behavior could have saved me a few hours -- 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
