Project: JDT
Bug 144785 [generate constructor] should not declare parameters as final when members are final [code generation]
Reported: 2006-05-31 17:28:23 | Status: verified fixed

3.2 RC6 When I declare a set of private final member variables, then execute the Source option 'Generate Constructor Using Fields', the generated constructor parameters are also declared final. I don't think the finality of the member variables are really related to the finality of the parameters, and I think the parameters should always be non-final - or at least the wizard should provide an option to toggle the parameter finality.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateConstructorUsingFieldsTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java