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 60674 - refactor-->rename doesn't change name in leading comment
Summary: refactor-->rename doesn't change name in leading comment
Status: RESOLVED DUPLICATE of bug 88220
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 61790 65773 66262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-30 17:11 UTC by athompson
Modified: 2007-07-30 10:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Value.java, renamed from PropertyValue.java (237 bytes, text/plain)
2005-06-30 17:13 UTC, athompson
Details
template (229 bytes, text/plain)
2005-06-30 17:14 UTC, athompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2005-06-30 17:11:58 UTC
jdk 1.5
linux
daily 28 june 2005

when i refactor-->rename a class, the class name in the leading comment is not
changed, if if i have the option to rename in comments selected. i have modified
my templates a bit. i'll attach a class where i renamed from PropertyValue to
Value, and the template.
Comment 1 athompson 2005-06-30 17:13:40 UTC
Created attachment 22983 [details]
Value.java, renamed from PropertyValue.java
Comment 2 athompson 2005-06-30 17:14:57 UTC
Created attachment 22984 [details]
template
Comment 3 Milan Kubec 2005-08-09 12:33:23 UTC
*** Issue 61790 has been marked as a duplicate of this issue. ***
Comment 4 Daniel Prusa 2005-09-21 10:48:05 UTC
Fixed in trunk.

/cvs/refactoring/src/org/netbeans/modules/refactoring/CommentFinder.java
new revision: 1.7; previous revision: 1.6

/cvs/refactoring/src/org/netbeans/modules/refactoring/CommentRenameElement.java
new revision: 1.3; previous revision: 1.2

/cvs/refactoring/src/org/netbeans/modules/refactoring/CommentRenameFinder.java
new revision: 1.4; previous revision: 1.3
Comment 5 Daniel Prusa 2005-10-04 09:38:37 UTC
*** Issue 65773 has been marked as a duplicate of this issue. ***
Comment 6 Jan Becicka 2005-10-07 17:30:26 UTC
*** Issue 66262 has been marked as a duplicate of this issue. ***
Comment 7 athompson 2007-07-27 17:13:28 UTC
seems to be back. ignore that stuff about templates.

Product Version: NetBeans IDE Dev (Build 200707270000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\alvin\.netbeans\dev
Comment 8 Jiri Prox 2007-07-30 10:44:38 UTC
yes, this occur after rewriting to retouche.  

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