/** * Evaluate if the builds path contains an execution environment and the current compliance * settings follow the EE options. * * @param ee the EE, or <code>null</code> if none available * @return {@link #DEFAULT_CONF} if the compliance follows the EE, or {@link #USER_CONF} if the * settings differ, or {@link #DISABLED} if there's no EE at all */ private String getComplianceFollowsEE(IExecutionEnvironment ee) { Map<String, String> options= BuildPathSupport.getEEOptions(ee); if (options == null) return DISABLED; return checkDefaults(PREFS_COMPLIANCE, options); }
/** * Evaluate if the builds path contains an execution environment and the current compliance * settings follow the EE options. * * @param ee the EE, or <code>null</code> if none available * @return {@link #DEFAULT_CONF} if the compliance follows the EE, or {@link #USER_CONF} if the * settings differ, or {@link #DISABLED} if there's no EE at all */ private String getComplianceFollowsEE(IExecutionEnvironment ee) { Map<String, String> options= BuildPathSupport.getEEOptions(ee); if (options == null) return DISABLED; return checkDefaults(PREFS_COMPLIANCE, options); }
if (ee != null) { Map<String, String> options= javaProject.getOptions(false); Map<String, String> eeOptions= getEEOptions(ee); if (eeOptions != null) { for (int i= 0; i < PREFS_COMPLIANCE.length; i++) {
if (ee != null) { Map<String, String> options= javaProject.getOptions(false); Map<String, String> eeOptions= getEEOptions(ee); if (eeOptions != null) { for (int i= 0; i < PREFS_COMPLIANCE.length; i++) {
Map<String, String> eeOptions= BuildPathSupport.getEEOptions(ee); if (eeOptions == null) return;
Map<String, String> eeOptions= BuildPathSupport.getEEOptions(ee); if (eeOptions == null) return;