Project: JDT
Bug 6860 template: for(array) - inserts qualified type name (+ incorrect temp name)
Reported: 2001-12-12 12:30:01 | Status: resolved fixed

class A { class Inner{} void f(){ Inner[] t; //<<INSERT FOR(ARRAY) TEMPLATE HERE } } the created for loop is: for (int i = 0; i < t.length; i++) { A.Inner a.Inner = t[i]; }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/NameProposer.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitCompletion.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java