Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 198672 - Moving a class inserts "import" not in order
Moving a class inserts "import" not in order
Status: RESOLVED DUPLICATE of bug 221630
Product: java
Classification: Unclassified
Component: Refactoring
PC Linux
: P3 (vote)
: 7.4
Assigned To: Ralph Ruijs
Depends on:
  Show dependency treegraph
Reported: 2011-05-17 12:05 UTC by arataj
Modified: 2015-07-30 09:12 UTC (History)
0 users

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo