resolvedComponent = component;
res.add(resolvedComponent);
}
else
{
DeploymentTypeManager typeManager = DeploymentTypeManager.getInstance();
if (typeManager.comparePrecedences(component.getDeploymentType(), resolvedComponent.getDeploymentType()) < 0)
{
continue;
}
else if (typeManager.comparePrecedences(component.getDeploymentType(), resolvedComponent.getDeploymentType()) > 0)
{
res.clear();
resolvedComponent = component;
res.add(resolvedComponent);