Polishing (in particular updating javadoc references to Apache Commons)

(cherry picked from commit bc6a98c)
This commit is contained in:
Juergen Hoeller
2015-03-13 18:19:10 +01:00
parent f42c53d9be
commit b352dbfdeb
31 changed files with 209 additions and 205 deletions

View File

@@ -804,7 +804,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
oldBeanDefinition = this.beanDefinitionMap.get(beanName);
if (oldBeanDefinition != null) {
if (!this.allowBeanDefinitionOverriding) {
if (!isAllowBeanDefinitionOverriding()) {
throw new BeanDefinitionStoreException(beanDefinition.getResourceDescription(), beanName,
"Cannot register bean definition [" + beanDefinition + "] for bean '" + beanName +
"': There is already [" + oldBeanDefinition + "] bound.");