Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Submitted
Assignee
Bas Leijdekkers
Subsystem
Code Analysis. Inspection
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Craig Motlin
    3 months ago (04 Feb 2012 03:50)
  • Updated by   Dmitry Jemerov
    3 months ago (06 Feb 2012 15:05)
 
IDEA-80850 Add an option to the Inspection "Redundant field initialization" to only check for redundant initializations to null.
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I think that sometimes a redundant initialization to 0 or false sometimes helps readability when it's next to non-redundant initializations of other ints and booleans. However, redundant initializations to null never help.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments