Merge pull request #31930 from izeye

* pr/31930:
  Update copyright year of changed files
  Polish

Closes gh-31930
This commit is contained in:
Stéphane Nicoll
2024-01-01 11:01:07 +01:00
5 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -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);