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.

Bug 49485

Summary: Rename of bean field does not change setter implementation
Product: java Reporter: _ lcincura <lcincura>
Component: BeansAssignee: Martin Matula <mmatula>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description _ lcincura 2004-09-23 14:45:10 UTC
NetBeans IDE 200409221800 on java 1.5.0-rc-b63

1, Create WEB project
2, Create new JavaBeans component
3, Expand it till Bean Patterns in Projects view
4, Select sampleProperty and invoke Rename from
it's context menu => the property name, the name
of getter and setter is updated, but the
implementation of setter still uses old property name.
Comment 1 Martin Matula 2004-10-07 09:29:04 UTC
This is as designed. The functionality was build before we had the
refactoring module. Dusan, please advise what we should do for 4.0
(leave it as is or disable renaming of properties or something else?).
Comment 2 dpavlica 2004-10-29 16:02:01 UTC
Rename action for Bean field should work similar to other
Refactor-Rename actions. Will be made consistent in the future.
Comment 3 Jan Becicka 2005-11-09 09:41:31 UTC
*** Issue 68267 has been marked as a duplicate of this issue. ***
Comment 4 Jan Becicka 2008-08-11 13:50:16 UTC

*** This issue has been marked as a duplicate of 100758 ***