Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Check: NoNullForCollectionReturnCheck #63

romani opened this issue Nov 3, 2012 · 1 comment


Copy link

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.


This comment has been minimized.

Copy link
Member Author

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
None yet
2 participants
You can’t perform that action at this time.