Project: JDT
Bug 194913 [quick fix] Create field doesn't honor array
Reported: 2007-06-29 09:44:18 | Status: resolved fixed

Using Eclipse Version: 3.3.0 Build id: I20070503-1400 If you have something like the following snippet in your editor, and run the "Create field 'foo'" quick fix, it should create an array field. public class Test { public void foo(int i) { foo[i] = "bar"; } } But instead, it creates the following: public class Test { private String foo; public void foo(int i) { foo[i] = "bar"; } }

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedVariablesQuickFixTest.java