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:
parent
9f9b5b30ed
commit
7f5c67b4ed
@ -110,9 +110,9 @@ public class NacosPropertySourceBuilder {
|
|||||||
Enumeration<String> keys = (Enumeration<String>) properties.propertyNames();
|
Enumeration<String> keys = (Enumeration<String>) properties.propertyNames();
|
||||||
while (keys.hasMoreElements()) {
|
while (keys.hasMoreElements()) {
|
||||||
String key = keys.nextElement();
|
String key = keys.nextElement();
|
||||||
Object value = properties.getProperty(key);
|
String value = properties.getProperty(key);
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
result.put(key, ((String) value).trim());
|
result.put(key, value.trim());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
result.put(key, null);
|
result.put(key, null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user