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 198672

Summary: Moving a class inserts "import" not in order
Product: java Reporter: arataj <arataj>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PLAN
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description arataj 2011-05-17 12:05:36 UTC
If a class is moved to another package, adding "import" to some files that use the class can be needed. It is added, though, before all other imports, instead of putting it in alphabetic order.

The relevant code is likely there to be reused, as the "add import" hint puts the import in order.
Comment 1 Ralph Ruijs 2015-07-30 09:12:18 UTC

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