Bug 39038 method SWTUtil.getButtonHeigthHint is misspelled [misc]
"getButtonHeigthHint" should be spelled "getButtonHeightHint". The "Height" part is spelled incorrectly. This is an internal API -- package org.eclipse.jdt.internal.ui.util -- so this is not a user-visible bug, strictly speaking, but it would be trivial to fix.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
Template[] templates= fTemplates.getTemplates();
		for (int i= 0; i != templates.length; i++)
			templates[i].setEnabled(enable);		
			
		fTableViewer.setAllChecked(enable);
	}
	
	/*
	 * @see IWorkbenchPreferencePage#init(IWorkbench)
	 */
	public void init(IWorkbench workbench) {}
	/*
	 * @see Control#setVisible(boolean)
	 */
	public void setVisible(boolean visible) {
		super.setVisible(visible);
		if (visible)
			setTitle(TemplateMessages.getString("TemplatePreferencePage.title")); 
	}
	
	/*
	 * @see PreferencePage#performDefaults()
	 */
	protected void performDefaults() {
		IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
		fFormatButton.setSelection(prefs.getDefaultBoolean(PREF_FORMAT_TEMPLATES));
		try {
			fTemplates.restoreDefaults();
		} catch (CoreException e) {
			openReadErrorDialog(e);