Menu

#1489 Wrong NP_NULL_ON_SOME_PATH warning if Preconditions check contains line break

3.x
closed-wont-fix
nobody
None
5
2017-10-22
2017-10-22
No

I came across this weird error. When the null check is on a separate line than the corresponding checking method I get a NP_NULL_ON_SOME_PATH warning.

See attachments.

3 Attachments

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2017-10-22

    This project continues development in a new home: https://github.com/spotbugs/spotbugs/

    Please do not open new issues here anymore!

     
  • Andrey Loskutov

    Andrey Loskutov - 2017-10-22
    • status: open --> closed-wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB