Project: JDT
Bug 77083 "Move member type to new file" produces extraneous import of even more inner classes [refactoring]
Reported: 2004-10-27 04:41:14 | Status: resolved fixed

Create a class like this: package foo; public class OuterClass { static class InnerClass{ InnerInnerClass myInnerInner; class InnerInnerClass{ } } } Apply "move member type to new file" on InnerClass. The new InnerClass top level class will get look like this: package foo; import foo.OuterClass.InnerClass.InnerInnerClass; class InnerClass{ InnerInnerClass myInnerInner; class InnerInnerClass{ } } 3.1M2, W2K

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_40/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_40/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_40/out/Inner.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInnerToTopLevelTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java