Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
New Check: NoNullForCollectionReturnCheck #63
if return result for the method is Collection or array, show warning when it is trying to return null instead of empty collection or empty array.
Returning Null is error prone as developers forget to review method implementation or Java doc for nuances of Null meaning.