sync code format from 1.x

pull/187/head^2
flystar32 6 years ago
parent 202bd4a6b2
commit b99c10fadd

@ -272,8 +272,17 @@ public class NacosConfigProperties {
}
public static class Config {
/**
* the data id of extended configuration
*/
private String dataId;
/**
* the group of extended configuration, the default value is DEFAULT_GROUP
*/
private String group = "DEFAULT_GROUP";
/**
* whether to support dynamic refresh, the default does not support .
*/
private boolean refresh = false;
public String getDataId() {

@ -33,6 +33,7 @@ import com.alibaba.nacos.api.config.ConfigService;
/**
* @author xiaojing
* @author pbting
*/
@Order(0)
public class NacosPropertySourceLocator implements PropertySourceLocator {

@ -96,6 +96,7 @@ public class NacosContextRefresher
if (refreshProperties.isEnabled()) {
for (NacosPropertySource nacosPropertySource : nacosPropertySourceRepository
.getAll()) {
if (!nacosPropertySource.isRefreshable()) {
continue;
}

Loading…
Cancel
Save