Merge pull request #23394 from ijliym
* pr/23394: Polish getTypeForFactoryBean comment Closes gh-23394
This commit is contained in:
@@ -826,7 +826,7 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||
protected ResolvableType getTypeForFactoryBean(String beanName,
|
||||
RootBeanDefinition mbd, boolean allowInit) {
|
||||
|
||||
// Check it the the bean definition itself has defined the type with an attribute
|
||||
// Check if the bean definition itself has defined the type with an attribute
|
||||
ResolvableType result = getTypeForFactoryBeanFromAttributes(mbd);
|
||||
if (result != ResolvableType.NONE) {
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user