Browse Source

Polish

pull/24469/head
Johnny Lim 6 years ago committed by Rossen Stoyanchev
parent
commit
f01de79fe2
  1. 2
      spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java

2
spring-beans/src/main/java/org/springframework/beans/factory/support/PropertiesBeanDefinitionReader.java

@ -423,7 +423,7 @@ public class PropertiesBeanDefinitionReader extends AbstractBeanDefinitionReader @@ -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());

Loading…
Cancel
Save