Polish
See gh-31930
This commit is contained in:
committed by
Stéphane Nicoll
parent
fdb454b9a4
commit
ff8097d37c
@@ -367,7 +367,7 @@ class BeanDefinitionPropertiesCodeGenerator {
|
||||
* @param castNecessary whether a cast is necessary
|
||||
* @param castType the type to cast to
|
||||
* @param valueCode the code for the value
|
||||
* @return the existing value or a form of {@code (CastType) valueCode} if a
|
||||
* @return the existing value or a form of {@code (castType) valueCode} if a
|
||||
* cast is necessary
|
||||
*/
|
||||
private CodeBlock castIfNecessary(boolean castNecessary, Class<?> castType, CodeBlock valueCode) {
|
||||
|
||||
@@ -46,7 +46,7 @@ class SimpleInstantiationStrategyTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void instantiateWitArgs() {
|
||||
void instantiateWithArgs() {
|
||||
RootBeanDefinition bd = new RootBeanDefinition(String.class);
|
||||
Object simpleBean = instantiate(bd, new SampleFactory(),
|
||||
method(SampleFactory.class, "beanWithTwoArgs"), "Test", 42);
|
||||
@@ -54,7 +54,7 @@ class SimpleInstantiationStrategyTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void instantiateWitSubClassFactoryArgs() {
|
||||
void instantiateWithSubClassFactoryArgs() {
|
||||
RootBeanDefinition bd = new RootBeanDefinition(String.class);
|
||||
Object simpleBean = instantiate(bd, new ExtendedSampleFactory(),
|
||||
method(SampleFactory.class, "beanWithTwoArgs"), "Test", 42);
|
||||
|
||||
Reference in New Issue
Block a user