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.
When I add new property thrue Alt+Insert in editor and select new property, check set and get methods for generate and also bound of the property, it will generate wrong code of the set method like this: protected String string; public static final String PROP_STRING = "string"; /** * Get the value of string * * @return the value of string */ public String getString() { return string; } /** * Set the value of string * * @param string new value of string */ public void setString(String string) { String oldString = string; !!!!!!!!!!!!!! THIS IS WRONG, THE GOOD CODE SHOULD BE this.string this.string = string; propertyChangeSupport.firePropertyChange(PROP_STRING, oldString, string); }
This is already fixed and fix will be included in patch 1. Thanks for your report anyway *** This issue has been marked as a duplicate of 131835 ***