jlahoda commented on issue #1551: Module list to log missing code base URL: https://github.com/apache/netbeans/pull/1551#issuecomment-538852175 Yes, I understand findElement() returns null if it cannot find the element - but most here methods don't silently accept nulls as parameters, I believe. In any case, sorry I don't see this bringing consistency - with this patch, if I do "findText(findElement(...))", it won't fail with NPE, but if I do "findElement(findElement(...), ...)" it will, I think. dtto for findSubElements, although I could see an argument about the inconsistency being fine for findSubElements.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- 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
