Project: JDT
Bug 163789 [clean up] Use modifier 'final' where possible: error for private field
Reported: 2006-11-08 06:51:00 | Status: resolved fixed

I20061107-0800 The Clean Up "Use modifier 'final' where possible > Private field" erroneously adds 'final' when the field is assigned again in a constructor calling this(): public class Try { private int fField; public Try() { fField= 12; } public Try(int val) { this(); fField= val; } }

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java