Bug 34896

Summary: compiler setting "unused private fields"
Product: [Eclipse Project] JDT Reporter: Ilja Preuss <preuss>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: channingwalton
Version: 2.1   
Target Milestone: 3.0 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Ilja Preuss CLA 2003-03-13 05:39:17 EST
"unused private fields" should already get a warning/error, if the field isn't 
*read* once, similar to unused local variables.

Currently, if a field is only "used" to initialize it in the constructor, for 
example, you don't get notified.
Comment 1 Philipe Mulet CLA 2003-03-17 05:00:03 EST
Will reconsider post 2.1
Comment 2 Philipe Mulet CLA 2003-04-01 04:29:49 EST
*** Bug 35818 has been marked as a duplicate of this bug. ***
Comment 3 Philipe Mulet CLA 2003-04-02 06:45:54 EST
reopen
Comment 4 Philipe Mulet CLA 2003-04-03 06:18:45 EST
Fixed, also changed the error message to read "The private X is never read 
locally".
Comment 5 Channing Walton CLA 2003-04-03 10:36:13 EST
Excellent, thanks.
Comment 6 David Audel CLA 2003-06-06 09:35:23 EDT
Verified.