Bug 4972 - move CU creates imports at wrong position
Summary: move CU creates imports at wrong position
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adam Kiezun CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-15 04:57 EDT by Martin Aeschlimann CLA
Modified: 2001-10-18 10:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2001-10-15 04:57:42 EDT
203
1. in package 'a' create a file with wrong package statement:

/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
package a.b.c.d.e;
public interface IDialogFieldListener {
	void dialogFieldChanged(DialogField field);
}

2. Move the cu to package p (update references)
3. Result has an import statement in the middle of the comment


/
import a.*;*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
...
Comment 1 Adam Kiezun CLA 2001-10-18 10:06:42 EDT
fixed for 205