New Check: NoNullForCollectionReturnCheck #63

romani opened this Issue Nov 3, 2012 · 1 comment


None yet

2 participants

romani commented Nov 3, 2012

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.

@sabaka sabaka was assigned Jun 3, 2013
romani commented Aug 14, 2013


@romani romani closed this Aug 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment