Replace explicit loop with forEach method reference
See gh-45965 Signed-off-by: csbiy <katd6@naver.com>
This commit is contained in:
parent
3911507b36
commit
b3e1f97630
|
@ -50,7 +50,7 @@ class DynamicPropertySourceMethodsImporter {
|
|||
if (methods.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
methods.forEach((method) -> assertValid(method));
|
||||
methods.forEach(this::assertValid);
|
||||
RootBeanDefinition registrarDefinition = new RootBeanDefinition();
|
||||
registrarDefinition.setBeanClass(DynamicPropertySourcePropertyRegistrar.class);
|
||||
ConstructorArgumentValues arguments = new ConstructorArgumentValues();
|
||||
|
|
Loading…
Reference in New Issue