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 142286 - Refactoring renames to Double the Name
Summary: Refactoring renames to Double the Name
Status: RESOLVED DUPLICATE of bug 142199
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 18:18 UTC by Joelle Lam
Modified: 2008-07-30 18:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Picture of java file to begin with. (31.63 KB, image/png)
2008-07-30 18:31 UTC, Joelle Lam
Details
Refactoring Dialog (58.86 KB, image/png)
2008-07-30 18:33 UTC, Joelle Lam
Details
After rename (141.77 KB, image/png)
2008-07-30 18:33 UTC, Joelle Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joelle Lam 2008-07-30 18:18:40 UTC
After trying to refactor a class name, it replaces the name but seems to give it double the name.

1) JSPreferences.java 
2) Refactor to -> "AnotherPreference" 
3) But actually gets name "AnotherPreferenceAnotherPreference"
Comment 1 Petr Dvorak 2008-07-30 18:22:16 UTC
Should be already fixed in the latest dev build.

*** This issue has been marked as a duplicate of 142199 ***
Comment 2 Joelle Lam 2008-07-30 18:31:12 UTC
Created attachment 66102 [details]
Picture of java file to begin with.
Comment 3 Joelle Lam 2008-07-30 18:33:00 UTC
Created attachment 66103 [details]
Refactoring Dialog
Comment 4 Joelle Lam 2008-07-30 18:33:39 UTC
Created attachment 66104 [details]
After rename
Comment 5 Petr Dvorak 2008-07-30 18:50:57 UTC
... thank you for the attachments. It is already fixed. :o)