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 - Imports not organized after class move
Summary: Imports not organized after class move
Status: RESOLVED DUPLICATE of bug 204047
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 08:48 UTC by Tomas Mysik
Modified: 2012-08-29 08:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***