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 23891 - Import Management: import stmts should be added with the others
Summary: Import Management: import stmts should be added with the others
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 11:08 UTC by eadams
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 eadams 2002-05-23 11:08:36 UTC
I ran the Import Management Tool on a file with existing import stmts.

The top of my file was 

/*
 * Comments
 */

import ...

The file did not have a package stmt.  When the tool added an import
stmt it was added a the top of the file, before the comment, not with
the existing imports.
Comment 1 Svata Dedic 2002-05-23 19:37:30 UTC
Does not affect correctness of the source, happens only when the
import is inserted at first position, other insertions are OK.
Downgrading.
Comment 2 Tomas Hurka 2002-07-08 13:31:31 UTC
Fixed in trunk.
Comment 3 Jan Becicka 2002-10-14 14:52:38 UTC
Verified in 200210090100
Comment 4 Quality Engineering 2003-07-01 13:15:38 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.