Project: JDT
Bug 185745 [introduce parameter object] introduces object to method which is not selected
Reported: 2007-05-07 08:38:49 | Status: verified fixed

I20070503-1400 Given: package test; public class E1 { public void foo(int x, int y) {} public static void main(String[] args) { new E1().foo(1, 2); } } 1. Select 'foo' in body of 'main' 2. Introduce Parameter Object... Is: A parameter object is introduced to 'main' Should: Introduce it to the selected method, like change method signature does

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ActionMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IntroduceParameterObjectAction.java