Project: JDT
Bug 10888 Refactoring - move add redundant import statements
Reported: 2002-03-06 13:37:46 | Status: resolved fixed

Build 20020305 Having the following setup: Project +- src folder +- p1 +- X.java [package p1; class X{}] +- p2 +- Y.java [package p2; import p1.X; class Y extends X {}] +- p3 Then move 'X' from 'p1' to 'p3' and request to update references to X. At the end, Y.java source is unoptimal: package p2; import p3.*; // ??? import p3.X; public class Y extends X { }

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