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

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

New Check: NoNullForCollectionReturnCheck #63

romani opened this issue Nov 3, 2012 · 1 comment
Assignees
Milestone

Comments

@romani
Copy link
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.

@romani
Copy link
Member Author

romani commented Aug 14, 2013

fixed.

@romani romani closed this as completed Aug 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants