Project: JDT
Bug 185359 [introduce parameter object] has inconsistent type qualification schema
Reported: 2007-05-03 10:52:16 | Status: verified fixed

I20070502-0010 Given: package test; public class E01 { public E01 createE01() { return new E01(1); } public E01(int number) { } } 1. Select constructor E01 2. Introduce Parameter Object 3. Accept default except select 'Nested Class in E01' Is: ... public E01 createE01() { return new E01(new E01.E01Parameter(1)); } ... Should: ... public E01 createE01() { return new E01(new E01Parameter(1)); } ... It is not qualified elsewhere in E01, qualification is not required.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testDelegateCreation/out/TestDelegateCreation.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testImportAddEnclosing/out/TestImportAddEnclosingCaller.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testSimpleEnclosing/out/TestSimpleEnclosing.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsNotReordered/out/TestVarArgsNotReordered.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsReordered/out/TestVarArgsReordered.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringCoreMessages.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/BodyUpdater.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IDefaultValueAdvisor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ParameterObjectFactory.java