Skip to content

New Check: NoNullForCollectionReturnCheck #63

Closed
romani opened this Issue Nov 3, 2012 · 1 comment

2 participants

@romani
open source initiative member
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
open source initiative member
romani commented Aug 14, 2013

fixed.

@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
Something went wrong with that request. Please try again.