Bug 94915 [Preferences] Editors preference page shortly shows error status on first display
I20050509-2010: Steps to reproduce: - Restart workbench or make sure that last visited preference page is not the Editors preference page - Open the Editors preference page -> For a very short time, the preference displays an error status below the preference page caption
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/AbstractEncodingFieldEditor.java
return false;
		}
		
	}
	/**
	 * Returns the default encoding.
     * 
	 * @return the default encoding
	 */
	protected String getDefaultEnc() {
		return defaultEnc;
	}
	/**
	 * Returns whether or not the encoding setting changed.
     * 
	 * @param encodingSetting the setting from the page.
	 * @return boolean <code>true</code> if the resource encoding
	 *   is the same as before.
	 */
	protected boolean hasSameEncoding(String encodingSetting) {
		String current = getStoredValue();
		if (encodingSetting == null) {
			
			return current == null || current.length() == 0;
		}
		return encodingSetting.equals(current);
	}
}