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

Comments

Projects
None yet
2 participants
@romani
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

This comment has been minimized.

Show comment
Hide comment
@romani

romani Aug 14, 2013

Member

fixed.

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