Project: JDT
Bug 42585 [Refactoring] "self encapsulate field" loses finalness of field
Reported: 2003-09-05 05:41:48 | Status: resolved fixed

Do "self encapsulate field" on a final field it correctly recognises that a setter is not appropriate but the field loses it's final marker. e.g. public final Object field; -> private Object field;

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/base_in/TestFinal.java org.eclipse.jdt.ui.tests.refactoring/resources/SefWorkSpace/SefTests/base_out/TestFinal.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SefTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java