Project: JDT
Bug 52573 Move static method refactoring should remove imports
Reported: 2004-02-19 21:09:53 | Status: resolved fixed

Build 20040219 After performing the "move static method" refactoring, the original source file is left with unused imports which were referenced by the code that was moved. These imports should be automatically removed by the refactoring.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test1/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test1/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test1/out/B.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveMembers/test26/out/A.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java