We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b09718 commit 5f51e86Copy full SHA for 5f51e86
spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
@@ -1835,7 +1835,7 @@ public void testGetBeanWithArgsNotCreatedForFactoryBeanChecking() {
1835
private RootBeanDefinition createConstructorDependencyBeanDefinition(int age) {
1836
RootBeanDefinition bd = new RootBeanDefinition(ConstructorDependency.class);
1837
bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE);
1838
- bd.getConstructorArgumentValues().addGenericArgumentValue(String.valueOf(age));
+ bd.getConstructorArgumentValues().addGenericArgumentValue(age);
1839
return bd;
1840
}
1841
0 commit comments