Project: JDT
Bug 182739 [quick fix] Change method to Quickfix proposes invalid array dimension
Reported: 2007-04-17 08:50:26 | Status: resolved fixed

In the following code: public class ArrayTest { public void test(String[] a){ blubb(a); } private void blubb(int a[]) { } } The quickfix proposes: change method blubb(int[]) to blubb(String[]) but creates: private void blubb(String[] a[]) { }

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedMethodsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java