Merge pull request #23394 from ijliym

* pr/23394:
  Polish getTypeForFactoryBean comment

Closes gh-23394
This commit is contained in:
Stephane Nicoll
2019-08-01 10:17:27 +02:00

View File

@@ -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;