fixed findPlaceholderEndIndex to work with a custom suffix as well (SPR-7574)
This commit is contained in:
parent
668207d59d
commit
eda6268d9d
|
|
@ -190,7 +190,7 @@ public class PropertyPlaceholderHelper {
|
|||
if (StringUtils.substringMatch(buf, index, this.placeholderSuffix)) {
|
||||
if (withinNestedPlaceholder > 0) {
|
||||
withinNestedPlaceholder--;
|
||||
index = index + this.placeholderPrefix.length() - 1;
|
||||
index = index + this.placeholderSuffix.length();
|
||||
}
|
||||
else {
|
||||
return index;
|
||||
|
|
|
|||
Loading…
Reference in New Issue