@ 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 ( ) ; } }
trim the string value before it is returned to the caller method .