This commit is contained in:
Johnny Lim
2020-01-31 17:40:29 +09:00
committed by Rossen Stoyanchev
parent 3a90d8a64d
commit f01de79fe2

View File

@@ -423,7 +423,7 @@ public class PropertiesBeanDefinitionReader extends AbstractBeanDefinitionReader
MutablePropertyValues pvs = new MutablePropertyValues();
String prefixWithSep = prefix + SEPARATOR;
int beginIndex = prefix.length() + SEPARATOR.length();
int beginIndex = prefixWithSep.length();
for (Map.Entry<?, ?> entry : map.entrySet()) {
String key = StringUtils.trimWhitespace((String) entry.getKey());