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.
build netbeans-hudson-trunk-760-full.zip Steps to reproduce: - Create 'A' Class element - Insert 'private int a' attribute to the element - Generate code for the element get/set methods are created ----------------------------------------------- public class A { [UML Marker] private int a; [UML Marker] public int getA () { return a; } [UML Marker] public void setA (int val) { this.a = val; } } ----------------------------------------------- - Go to the 'A' element - Rename 'int a' attribute to 'b' - Generate code for the element The bodies of the get/set methods were not updated ----------------------------------------------- public class A { [UML Marker] private int b; [UML Marker] public int getB () { return a; // Old return value } [UML Marker] public void setB (int val) { this.a = val; // Old attribute name } } -----------------------------------------------
now regenBody set by default to "yes" for set/getters
verified in netbeans-hudson-trunk-923-full.zip