mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Merge pull request #507 from bluesword12350/sword-dev
Bugfix: Missing '@Override' annotation on 'customizePropertySources()'
This commit is contained in:
commit
257d29fa32
@ -92,6 +92,7 @@ public class DubboServiceAutoConfiguration {
|
|||||||
@Bean(name = BASE_PACKAGES_PROPERTY_RESOLVER_BEAN_NAME)
|
@Bean(name = BASE_PACKAGES_PROPERTY_RESOLVER_BEAN_NAME)
|
||||||
public PropertyResolver dubboScanBasePackagesPropertyResolver(ConfigurableEnvironment environment) {
|
public PropertyResolver dubboScanBasePackagesPropertyResolver(ConfigurableEnvironment environment) {
|
||||||
ConfigurableEnvironment propertyResolver = new AbstractEnvironment() {
|
ConfigurableEnvironment propertyResolver = new AbstractEnvironment() {
|
||||||
|
@Override
|
||||||
protected void customizePropertySources(MutablePropertySources propertySources) {
|
protected void customizePropertySources(MutablePropertySources propertySources) {
|
||||||
Map<String, Object> dubboScanProperties = PropertySourcesUtils.getSubProperties(environment, DUBBO_SCAN_PREFIX);
|
Map<String, Object> dubboScanProperties = PropertySourcesUtils.getSubProperties(environment, DUBBO_SCAN_PREFIX);
|
||||||
propertySources.addLast(new MapPropertySource("dubboScanProperties", dubboScanProperties));
|
propertySources.addLast(new MapPropertySource("dubboScanProperties", dubboScanProperties));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user