This inspection reports any instances of return statements with null values.
While occasionally useful, this construct may make the code more prone
to failing with a NullPointerException, and often indicates that the developer doesn't really understand the classes
intended semantics.
Use the controls below to specify whether this inspection should report null values on array returns, collection object returns, plain object returns, or a combination of the three. |
Powered by InspectionGadgets |