Bug 198672 - Moving a class inserts "import" not in order
Moving a class inserts "import" not in order
Status: NEW
Product: java
Classification: Unclassified
Component: Refactoring
7.0
PC Linux
: P3 (vote)
: 7.4
Assigned To: Ralph Ruijs
issues@java
: PLAN
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-17 12:05 UTC by arataj
Modified: 2013-04-23 00:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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.


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