Bug 286542 Unnecessary line of code in ResourceEncodingFieldEditor
Around line 268 String defaultCharset = getCharsetFromDescription(); defaultCharset = getCharsetFromDescription();
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/ResourceEncodingFieldEditor.java
*/
	protected String getStoredValue() {
		try {
			if (resource instanceof IContainer) {
				return ((IContainer) resource).getDefaultCharset(false);
			}
			return ((IFile) resource).getCharset(false);
		} catch (CoreException e) {
			IDEWorkbenchPlugin
					.log(
							IDEWorkbenchMessages.ResourceEncodingFieldEditor_ErrorLoadingMessage,
							e.getStatus());
			return WorkbenchEncoding.getWorkbenchDefaultEncoding();
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.preference.FieldEditor#doStore()
	 */
	protected void doStore() {
		String encoding = getSelectedEncoding();
		
		if (isDefaultSelected()) {
			encoding = null;
		}
		
		if (hasSameEncoding(encoding)) {
			return;
		}