if (VERSION_1_3.equals(compliance)) { if (VERSION_1_4.equals(source) || VERSION_1_5.equals(source)) { status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl13src145_error); return status; } if (VERSION_1_4.equals(target) || VERSION_1_5.equals(target)) { status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl13trg145_error); return status; } } else if (VERSION_1_4.equals(compliance)) { if (VERSION_1_5.equals(source)) { status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl14src15_error); return status; } if (VERSION_1_5.equals(target)) { status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl14trg15_error); return status; }
if (isLessThan(compliance, source)) { status.setError(PreferencesMessages.ComplianceConfigurationBlock_src_greater_compliance); return status;
	private IStatus validateCompliance() {		StatusInfo status= new StatusInfo();		String compliance= getValue(PREF_COMPLIANCE);		String source= getValue(PREF_SOURCE_COMPATIBILITY);		String target= getValue(PREF_CODEGEN_TARGET_PLATFORM);				if (VERSION_1_3.equals(compliance)) {			if (VERSION_1_4.equals(source) || VERSION_1_5.equals(source)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl13src145_error); 				return status;			} 			if (VERSION_1_4.equals(target) || VERSION_1_5.equals(target)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl13trg145_error); 				return status;			}		} else if (VERSION_1_4.equals(compliance)) {			if (VERSION_1_5.equals(source)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl14src15_error); 				return status;			} 			if (VERSION_1_5.equals(target)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_cpl14trg15_error); 				return status;			}					}		if (VERSION_1_4.equals(source)) {			if (VERSION_1_1.equals(target) || VERSION_1_2.equals(target) || VERSION_1_3.equals(target)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_src14tgt14_error); 				return status;			}		} else if (VERSION_1_5.equals(source)) {			if (!VERSION_1_5.equals(target)) {				status.setError(PreferencesMessages.ComplianceConfigurationBlock_src15tgt15_error); 				return status;			}		}		return status;	}