blakemcbride opened a new issue, #4554: URL: https://github.com/apache/netbeans/issues/4554
### Apache NetBeans version Apache NetBeans 15 release candidate ### What happened I have an overloaded Java method (multiple methods with the same name but different arguments). Some of them are deprecated. I am using a depreciated method. Sometimes NetBeans flags the arguments wrong because it doesn't see the deprecated method. Other times it works fine. It is inconsistent. In this case, it is detecting the deprecated method correctly. When I add a blank line elsewhere, all of a sudden, NetBeans no longer sees the deprecated method and marks the code as having errors. Then, if I add a single space on the blank line, NetBeans then discovers the deprecated method and marks the code correct. See the attached pictures   . ### How to reproduce _No response_ ### Did this work correctly in an earlier version? No / Don't know ### Operating System Fedora Linux ### JDK 8 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- 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
