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 - Rename of bean field does not change setter implementation
Summary: Rename of bean field does not change setter implementation
Status: RESOLVED DUPLICATE of bug 100758
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker with 2 votes (vote)
Assignee: Martin Matula
URL:
Keywords:
: 68267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-23 14:45 UTC by _ lcincura
Modified: 2008-08-11 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***