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.
Summary: | Refactoring Undo should not be enabled after Fix Imports. | ||
---|---|---|---|
Product: | editor | Reporter: | Milan Kubec <mkubec> |
Component: | Refactoring | Assignee: | issues@java <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | broken source code |
Description
Milan Kubec
2005-06-15 13:01:32 UTC
Created attachment 22702 [details]
broken source code
It has nothing to do with Convert Anonymous Class to Inner - it can happen with any refactoring. Refactoring Undo should not be enabled after Fix Imports. Cannot reproduce in latest build. Easily reproducible in dev-200506261800. Steps: 1) Creat form 2) Add button 3) Let IDE generate actionPerformed handler 4) Create Inner Class from the annon. handler class 5) Fix Imports 6) Refactor | Undo Sorry, maybe not reproducible - AUC still contains 0.16.0.2.3 version of Experimantal Refactorings. Really reproducible in Ex. Refac. 0.17.0.2.3. Another bug fixed: user should not be allowed to refactor code in guarded block. Checking in AnonymousToInnerRefactoringPlugin.java; /cvs/refactoring/experimental/src/org/netbeans/modules/refactoring/experimental/plugins/AnonymousToInnerRefactoringPlugin.java,v <-- AnonymousToInnerRefactoringPlugin.java new revision: 1.5; previous revision: 1.4 done Verified in dev-200509211800. |