Skip to content

Commit fde651a

Browse files
ijliymsnicoll
authored andcommitted
Polish getTypeForFactoryBean comment
See gh-23394
1 parent 1e830f7 commit fde651a

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)