Project: JDT
Bug 109145 [reorg] missing import statement after move refactoring [refactoring]
Reported: 2005-09-09 09:51:12 | Status: verified fixed

Build id: I20050906-1200 After moving a class with the refactoring an import was missing. Here are the steps to reproduce it: create new java project create source folder test1 and test2 create Class1 in package pack1 in source folder test2 create Class2 in package pack1 in source folder test1 add field Class1 c; to Class2 create package pack2 in source folder test2 move Class2 to pack2 with the refactoring import pack1.Class1; is missing.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ccp/MoveTest.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/MoveCuUpdateCreator.java