1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

enhance ACM module base spring-cloud-common 2.2.1

This commit is contained in:
yuhuangbin
2020-01-16 11:43:58 +08:00
parent 5f8d8cc043
commit acf7001d9f
13 changed files with 116 additions and 82 deletions

View File

@@ -65,9 +65,8 @@ public final class NacosPropertySourceRepository {
public static void collectNacosPropertySource(
NacosPropertySource nacosPropertySource) {
NACOS_PROPERTY_SOURCE_REPOSITORY
.putIfAbsent(getMapKey(nacosPropertySource.getDataId(),
nacosPropertySource.getGroup()), nacosPropertySource);
NACOS_PROPERTY_SOURCE_REPOSITORY.putIfAbsent(getMapKey(nacosPropertySource.getDataId(),
nacosPropertySource.getGroup()), nacosPropertySource);
}
public static NacosPropertySource getNacosPropertySource(String dataId,