Merge pull request #45965 from csbiy
* pr/45965: Upgrade copyright year of changed file Replace explicit loop with forEach method reference Closes gh-45965
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2012-2024 the original author or authors.
|
* Copyright 2012-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -50,7 +50,7 @@ class DynamicPropertySourceMethodsImporter {
|
|||||||
if (methods.isEmpty()) {
|
if (methods.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
methods.forEach((method) -> assertValid(method));
|
methods.forEach(this::assertValid);
|
||||||
RootBeanDefinition registrarDefinition = new RootBeanDefinition();
|
RootBeanDefinition registrarDefinition = new RootBeanDefinition();
|
||||||
registrarDefinition.setBeanClass(DynamicPropertySourcePropertyRegistrar.class);
|
registrarDefinition.setBeanClass(DynamicPropertySourcePropertyRegistrar.class);
|
||||||
ConstructorArgumentValues arguments = new ConstructorArgumentValues();
|
ConstructorArgumentValues arguments = new ConstructorArgumentValues();
|
||||||
|
|||||||
Reference in New Issue
Block a user