Menu

#176 create Field not initialized in constructor rule

open
nobody
None
5
2013-02-16
2011-01-24
No

UwF: Field not initialized in constructor (UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR)

This field is never initialized within any constructor, and is therefore could be null after the object is constructed. This could be a either an error or a questionable design, since it means a null pointer exception will be generated if that field is dereferenced before being initialized.

Discussion


Log in to post a comment.