-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still getting NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE with Objects.requireNonNull #2965
Comments
My understanding is that the methods are analysed separately, so when analyzing your There recent change in #2709 was to let SpotBugs know that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have read the issues regarding
Objects.requireNonNull
, so I expected the following to show no errors (using Spotbugs Maven plugin 4.8.4.0 with Spotbugs 4.8.4).However, I get Spotbugs errors for all three cases.
I thought this was fixed with the issues I read. Am I doing something wrong?
P.S. Thanks a lot for SpotBugs and carrying the load of work!
The text was updated successfully, but these errors were encountered: