File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
spring-beans/src/main/java/org/springframework/beans/factory/config Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
22
import org .springframework .beans .factory .BeanNameAware ;
23
23
import org .springframework .lang .Nullable ;
24
24
import org .springframework .util .StringValueResolver ;
25
+ import org .springframework .util .SystemPropertyUtils ;
25
26
26
27
/**
27
28
* Abstract base class for property resource configurers that resolve placeholders
@@ -92,16 +93,16 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
92
93
implements BeanNameAware , BeanFactoryAware {
93
94
94
95
/** Default placeholder prefix: {@value}. */
95
- public static final String DEFAULT_PLACEHOLDER_PREFIX = "${" ;
96
+ public static final String DEFAULT_PLACEHOLDER_PREFIX = SystemPropertyUtils . PLACEHOLDER_PREFIX ;
96
97
97
98
/** Default placeholder suffix: {@value}. */
98
- public static final String DEFAULT_PLACEHOLDER_SUFFIX = "}" ;
99
+ public static final String DEFAULT_PLACEHOLDER_SUFFIX = SystemPropertyUtils . PLACEHOLDER_SUFFIX ;
99
100
100
101
/** Default value separator: {@value}. */
101
- public static final String DEFAULT_VALUE_SEPARATOR = ":" ;
102
+ public static final String DEFAULT_VALUE_SEPARATOR = SystemPropertyUtils . VALUE_SEPARATOR ;
102
103
103
104
/** Default escape character: {@code '\'}. */
104
- public static final Character DEFAULT_ESCAPE_CHARACTER = '\\' ;
105
+ public static final Character DEFAULT_ESCAPE_CHARACTER = SystemPropertyUtils . ESCAPE_CHARACTER ;
105
106
106
107
107
108
/** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */
You can’t perform that action at this time.
0 commit comments