if (cfgElmtsRefMap.containsKey(e.getName()))
{
if (Strings.areEqual(cfgElmtsRefMap.get(e.getName()), e.toString()))
{
// Remove the configuration element as dominant and recessive have the same element
mergedConfiguration.removeConfigurationElement(e.getName());
}
}
}
}
merged.setConfig(mergedConfiguration);