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 111967 - [rename type] Rename type did not rename comments
Summary: [rename type] Rename type did not rename comments
Status: RESOLVED DUPLICATE of bug 88220
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-04 01:09 UTC by kely_garcia
Modified: 2007-08-06 12:36 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 kely_garcia 2007-08-04 01:09:25 UTC
Build ID: Netbeans 6.0 M9 (070502)

Steps To Reproduce:
Rename type A to B selecting 'Apply Rename on Comments'in the following:
package p;
/**
 * p.A 
 * AA A
 */
public class A{
	A a;//A
	String aa= "C:\\A.java";
};

Yields the following refactored code:
package p;
/**
 * p.A 
 * AA A
 */
public class B{
	B a;//A
	String aa= "C:\\A.java";
};

Note: It would be nice to also have an option to rename textual occurrences of the selected class
Comment 1 Jiri Prox 2007-08-06 12:36:20 UTC
The apply rename in comments was not yet reimplemented 

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