Skip to content

Commit 2230742

Browse files
committed
Merge pull request #23394 from ijliym
* pr/23394: Polish getTypeForFactoryBean comment Closes gh-23394
2 parents 1e830f7 + fde651a commit 2230742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ protected Class<?> getTypeForFactoryMethod(String beanName, RootBeanDefinition m
826826
protected ResolvableType getTypeForFactoryBean(String beanName,
827827
RootBeanDefinition mbd, boolean allowInit) {
828828

829-
// Check it the the bean definition itself has defined the type with an attribute
829+
// Check if the bean definition itself has defined the type with an attribute
830830
ResolvableType result = getTypeForFactoryBeanFromAttributes(mbd);
831831
if (result != ResolvableType.NONE) {
832832
return result;

0 commit comments

Comments
 (0)