Project: JDT
Bug 186329 [introduce parameter object] Inlining fails if name of parameter on super class differs
Reported: 2007-05-10 05:59:15 | Status: verified fixed

package p; public class A { public void foo(int xg, int yg, int zg) { } } class B extends A { public void foo(int x, int y, int z) { System.out.println(x); } } using defaults results in: package p; public class A { public void foo(FooParameter parameterObject) { } } class B extends A { public void foo(FooParameter parameterObject) { System.out.println(x); } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testInlineRename/in/TestInlineRename.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testInlineRename/out/TestInlineRename.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsNotReordered/in/TestVarArgsNotReordered.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsNotReordered/out/TestVarArgsNotReordered.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsReordered/in/TestVarArgsReordered.java org.eclipse.jdt.ui.tests.refactoring/resources/IntroduceParameterObject/testVarArgsReordered/out/TestVarArgsReordered.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceParameterObjectTests.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