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.
Summary: | Rename shows warning only after Rename getters and setters is selected | ||
---|---|---|---|
Product: | java | Reporter: | misterm <misterm> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
misterm
2013-06-26 19:29:45 UTC
In a class with a private member variable with getter/setter methods, invoke rename on the variable. The old name in the textfield is selected and has focus, allowing the user to change the name right away. Clicking on the checkbox to Rename Getters and Setters, the user gets a warning that the name is not changed. I think this is how it should work, giving the error immediately has no added value, as the user was not able to change the name yet. How should this be changed? It should either display the message immediately or once the user moves to the nxt step. Displaying it once the checkbox is marked gives the impression it really has to do with some requirement added by that option, which is not true. I've submitted this issue because the current behaviour got me puzzled for some good seconds and I think it's unnecessary this dialog behaves this way. changeset: 75a0a19aa638 user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Tue Mar 31 12:34:39 2015 +0200 summary: #231865 - Rename shows warning only after Rename getters and setters is selected Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/75a0a19aa638 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #231865 - Rename shows warning only after Rename getters and setters is selected |