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 26946 - [IMT] Import management tool changes formatting
Summary: [IMT] Import management tool changes formatting
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-02 09:22 UTC by tkellerer
Modified: 2007-09-26 09:14 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 tkellerer 2002-09-02 09:22:29 UTC
I have a class formatted like this:

public class MyClass
    extends MyAncestor
    implements Interface1, Interface2

Now, when I invoke the Import Management Tool to
clean up my imports (mainly remove unused and
"optimize" named imports vs. "wilcard" imports)
the formatting will be changed so that everything
will be on one line even if there are no changes
to the class itself or the interfaces.

Steps to reproduce:

create several imports (which will be
corrected/optimized by the Import Management Tool)
Format the class definition line with more than
one line
Execute the Import Management Tool
Comment 1 Tomas Hurka 2002-09-24 17:36:37 UTC
Fixed in trunk.
Comment 2 Jan Becicka 2002-10-14 14:52:48 UTC
Verified in 200210090100