From fde651a606c13e69284d9cebdcf885ff669700e8 Mon Sep 17 00:00:00 2001 From: "liym@com" Date: Thu, 1 Aug 2019 15:42:06 +0800 Subject: [PATCH] Polish getTypeForFactoryBean comment See gh-23394 --- .../factory/support/AbstractAutowireCapableBeanFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java index 5617b6b985b..1a2e9acf2dd 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java @@ -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;