code: @Override
      protected String resolvePlaceholder(String placeholder, Properties props) {
          String resolvedPlaceholder = super.resolvePlaceholder(placeholder, props);
          if (null == resolvedPlaceholder) {
  			LOGGER.trace("could not resolve place holder for key: " + placeholder + ". Please check your configuration files.");
  			return resolvedPlaceholder;
  		} else {
  			return resolvedPlaceholder.trim();
  		}
  		
      }
docs: trim the string value before it is returned to the caller method.
  
  @see org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#resolvePlaceholder(String, java.util.Properties)