Jira ticket [SONARJAVA-3570] - Jira has apparently been released. It grants an exception to the rule when there is an explicit null check in the code. However, this exception doesn’t appear to be mentioned in the rule description (SonarSource Code Analyzers Rules Explorer).
Hello, thank you for pointing out the missing update of our documentation. I opened a ticket to fix that, we will work on it as soon as possible!
You can find the updated rule description here:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.