Project: JDT
Bug 9909 template: toarray - using ${type} is wrong
Reported: 2002-02-15 10:28:51 | Status: resolved fixed

using ${type} in toarray is wrong it puts the name of the enclosing type - which is very much not what is needed. only the user knows to what type the casting should be done suggest creating ${enclosing_type} for enclosing types

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitContextType.java