mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:10:29 +00:00
Fix duplicate invoke method of transformedBeanName
This commit is contained in:
+1
-1
@@ -1648,7 +1648,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||
return beanInstance;
|
||||
}
|
||||
if (!(beanInstance instanceof FactoryBean)) {
|
||||
throw new BeanIsNotAFactoryException(transformedBeanName(name), beanInstance.getClass());
|
||||
throw new BeanIsNotAFactoryException(beanName, beanInstance.getClass());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user