Bug 81078 [preferences] Restore Defaults duplicates list entries
I200412142000 Restore Defaults on Java > Editor > Appearance duplicates the "Appearance color options" entries.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/LinkedModeConfigurationBlock.java
public Object[] getElements(Object inputElement) {
			return (ListItem[]) inputElement;
		}
		public void dispose() {
		}
		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
		}
	}
	
	private final class ItemLabelProvider extends LabelProvider {
		
		public String getText(Object element) {
			return ((ListItem) element).label;
		}
	}
	
	private static class ArrayLabelProvider extends LabelProvider {
		public String getText(Object element) {
			return ((String[]) element)[0].toString();
		}
	}
	
	final static String[] HIGHLIGHT= new String[] {PreferencesMessages.getString("LinkedModeConfigurationBlock.HIGHLIGHT"), ""}; 
	final static String[] UNDERLINE= new String[] {PreferencesMessages.getString("LinkedModeConfigurationBlock.UNDERLINE"), AnnotationPreference.STYLE_UNDERLINE}; 
	final static String[] BOX= new String[] {PreferencesMessages.getString("LinkedModeConfigurationBlock.BOX"), AnnotationPreference.STYLE_BOX}; 
	final static String[] IBEAM= new String[] {PreferencesMessages.getString("LinkedModeConfigurationBlock.IBEAM"), AnnotationPreference.STYLE_IBEAM};