part = beanName.substring(0, i);
}
if (beanName.equals(other)) {
InjectionResolver resolver = webBeansContext.getBeanManagerImpl().getInjectionResolver();
Set<Bean<?>> beans = resolver.implResolveByName(beanName);
if (beans.size() > 1) {
beans = resolver.findByAlternatives(beans);
if (beans.size() > 1) {
throw new WebBeansConfigurationException("There are two different beans with name : " + beanName + " in the deployment archieve");
}