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 217570

Summary: Imports not organized after class move
Product: java Reporter: Tomas Mysik <tmysik>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2012-08-29 08:48:26 UTC
Imports are not organized after class move. Steps:
- have a class with uses from some other class(es) from the same package,
- move this class to a different package,

-> result: imports are added but these new imports are not on "correct" lines ("Organize imports" hint is available).

Thanks.

Product Version: NetBeans IDE 7.2 (Build 201207171143)
Java: 1.6.0_34; Java HotSpot(TM) 64-Bit Server VM 20.9-b04
System: Linux version 3.5.3-030503-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2012-08-29 08:50:41 UTC
Sorry, just discovered that I have already filed this issue recently ;)

*** This bug has been marked as a duplicate of bug 204047 ***