Bug 4977 Extra spaces in completion for <code></code>
Enter <c and type ctrl-space Select <code></code> Note the extra spaces Same for other <*></*>
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateContext.java
import org.eclipse.jdt.internal.compiler.problem.ProblemIrritants;
import org.eclipse.jdt.internal.compiler.problem.ProblemReporter;
import org.eclipse.jdt.internal.core.Assert;
import org.eclipse.jdt.internal.core.JavaProject;
import org.eclipse.jdt.internal.core.SearchableEnvironment;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider;
import org.eclipse.jdt.internal.ui.util.DocumentManager;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextViewer;
public class TemplateContext implements VariableEvaluator {
	private static final String FILE= "file"; 
	private static final String LINE= "line"; 
	private static final String DATE= "date"; 
	private static final String INDEX= "index"; 
	private static final String ARRAY= "array"; 
	private static final String ITERATOR= "iterator"; 
	private static final String COLLECTION= "collection"; 
	private static final String VECTOR= "vector"; 
	private static final String ENUMERATION= "enumeration"; 
	private static final String TYPE= "type"; 
	private static final String ELEMENT_TYPE= "element_type"; 
	private static final String ELEMENT= "element"; 
	private ICompilationUnit fUnit;
	private IDocument fDocument;
	private int fStart;
	private int fEnd;
	private ITextViewer fViewer;
	public TemplateContext(ICompilationUnit unit, int start, int end, ITextViewer viewer) {