diff options
Diffstat (limited to 'spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java')
-rw-r--r-- | spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java b/spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java index f2801597..cb38e6b0 100644 --- a/spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java +++ b/spring-context/src/main/java/org/springframework/context/config/PropertyPlaceholderBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -69,7 +69,9 @@ class PropertyPlaceholderBeanDefinitionParser extends AbstractPropertyLoadingBea if (element.hasAttribute("value-separator")) { builder.addPropertyValue("valueSeparator", element.getAttribute("value-separator")); } - + if (element.hasAttribute("trim-values")) { + builder.addPropertyValue("trimValues", element.getAttribute("trim-values")); + } if (element.hasAttribute("null-value")) { builder.addPropertyValue("nullValue", element.getAttribute("null-value")); } |