A class has a field which is only set in particular circumstances. At other times it may be empty or null. It can be a sign you should move this field to another class where it will be set all of the time. Also move any functions that use this field.
- This smell is included Martin Fowler's book "Refactoring", 2nd Edition
Back to All Code Smells