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

resolve conflicts

This commit is contained in:
zkzlx 2019-08-20 17:59:13 +08:00
parent 9f9b5b30ed
commit 7f5c67b4ed

View File

@ -110,9 +110,9 @@ public class NacosPropertySourceBuilder {
Enumeration<String> keys = (Enumeration<String>) properties.propertyNames();
while (keys.hasMoreElements()) {
String key = keys.nextElement();
Object value = properties.getProperty(key);
String value = properties.getProperty(key);
if (value != null) {
result.put(key, ((String) value).trim());
result.put(key, value.trim());
}
else {
result.put(key, null);