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 204047

Summary: Organize Imports is not run after refactoring
Product: java Reporter: Tomas Mysik <tmysik>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal CC: lhanson, teras
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2011-10-21 06:45:27 UTC
Steps:
- have a Java class with some organized imports, e.g.
import my.ui.info.InfoPanel;
import my.ui.options.Options;
- refactor my.ui.options.Options to my.options.Options

-> result: imports are not organized

Might be an enhancement but IMHO I prefer a bug since NetBeans should likely avoid to change code in a way which leads hints to be displayed.

Thanks.

Product Version: NetBeans IDE Dev (Build 20111014-bfe2f49b93ff)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.38-11-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 dharkness 2012-07-02 17:39:16 UTC
*** Bug 209687 has been marked as a duplicate of this bug. ***
Comment 2 Tomas Mysik 2012-08-29 08:50:41 UTC
*** Bug 217570 has been marked as a duplicate of this bug. ***
Comment 3 Martin Balin 2015-09-17 11:16:10 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.