This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 179928

Summary: Add quickfix for unused field
Product: java Reporter: mvfranz <mvfranz>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description mvfranz 2010-01-27 13:57:37 UTC
NetBeans flags member variables as unused if they are not read/or written too.  The member is identified with a hover tip about the issue.  The quickfix process should recommend things that could be done to fix this issue.  Some possible choices are:
- remove the field
- create getter/setter
- create a constuctor that initializes member