Bug 5095 template: toarray incorrect
its defintion should be: (${type}[]) ${collection}.toArray(new ${type}[${collection}.size()]); rather than (${type}[]) ${collection}.toArray(new ${type}[${collection}]);
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/Template.java
/**
	 * Sets the description of the template.
	 */
	public void setDescription(String description) {
		fDescription= new String(description);
	}
	
	/**
	 * Returns the description of the template.
	 */
	public String getDescription() {
		return new String(fDescription);
	}
	
	/**
	 * Sets the context of the template.
	 */
	public void setContext(String context) {
		fContext= new String(context);
	}
	
	/**
	 * Returns the context in which the cursor was.
	 */
	public String getContext() {
		return new String(fContext);
	}
	/**
	 * Sets the name of the template.
	 */