Replace explicit loop with forEach method reference
See gh-45965 Signed-off-by: csbiy <katd6@naver.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user