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 - Add quickfix for unused field
Summary: Add quickfix for unused field
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 13:57 UTC by mvfranz
Modified: 2013-09-02 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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