Project: JDT
Bug 4972 move CU creates imports at wrong position
Reported: 2001-10-15 04:57:42 | Status: resolved fixed

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. */ ...

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/reorg/MoveCuUpdateCreator.java