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.
I wanted to rename the class Main to MainClass via the main menu.. Everything was ok. Now, I do the inverse operation, but by clicking on the node. But at that moment, I received the following message: Cannot rename, class Main already exists in package tiger.newpackage. And I clicked on Cancel. But the node is named Main, the tab is named Main, but the content of the java source file is the following public class MainClass { /** Creates a new instance of Main */ public MainClass() { } ... }
I'm sorry I cannot reproduce this bug. Can you still reproduce it in latest builds? Thanks.
I will try it tommorow with the build of this night
The Daily build of 14 June is not available. So, impossible for me to help you.
Fixed. Checking in org/netbeans/modules/refactoring/api/RenameRefactoring.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/RenameRefactoring.java,v <-- RenameRefactoring.java new revision: 1.8; previous revision: 1.7 done Processing log script arguments... More commits to come... Checking in org/netbeans/modules/refactoring/ui/RenameAction.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/RenameAction.java,v <-- RenameAction.java new revision: 1.7; previous revision: 1.6 done