fStatus= new StatusInfo(StatusInfo.ERROR, PreferencesMessages.getFormattedString("JavaEditorHoverConfigurationBlock.JavaEditorHoverConfigurationBlock.duplicateModifier", new String[] {label, (String)stateMasks.get(stateMask)}));
fStatus= new StatusInfo(StatusInfo.ERROR, PreferencesMessages.getFormattedString("JavaEditorHoverConfigurationBlock.duplicateModifier", new String[] {label, (String)stateMasks.get(stateMask)}));
	private void updateStatus() {		int i= 0;		HashMap stateMasks= new HashMap(fHoverConfigs.length);		while (fStatus.isOK() && i < fHoverConfigs.length) {			if (fHoverConfigs[i].fIsEnabled) {				String label= getContributedHovers()[i].getLabel();				Integer stateMask= new Integer(fHoverConfigs[i].fStateMask);				if (fHoverConfigs[i].fStateMask == -1)					fStatus= new StatusInfo(StatusInfo.ERROR, PreferencesMessages.getFormattedString("JavaEditorHoverConfigurationBlock.JavaEditorHoverConfigurationBlock.modifierIsNotValidForHover", new String[] {fHoverConfigs[i].fModifierString, label})); //$NON-NLS-1$				else if (stateMasks.containsKey(stateMask))					fStatus= new StatusInfo(StatusInfo.ERROR, PreferencesMessages.getFormattedString("JavaEditorHoverConfigurationBlock.JavaEditorHoverConfigurationBlock.duplicateModifier", new String[] {label, (String)stateMasks.get(stateMask)})); //$NON-NLS-1$				else					stateMasks.put(stateMask, label);			}			i++;		}		if (fStatus.isOK())			fMainPreferencePage.updateStatus(fStatus);		else {			fMainPreferencePage.setValid(false);			StatusUtil.applyToStatusLine(fMainPreferencePage, fStatus);		}	}