You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java
+7-5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2024 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@
50
50
* XSD documentation for complete details.
51
51
*
52
52
* <p>Any local properties (for example, those added via {@link #setProperties}, {@link #setLocations}
53
-
* et al.) are added as a {@code PropertySource}. Search precedence of local properties is
53
+
* et al.) are added as a single {@link PropertySource}. Search precedence of local properties is
54
54
* based on the value of the {@link #setLocalOverride localOverride} property, which is by
55
55
* default {@code false} meaning that local properties are to be searched last, after all
56
56
* environment property sources.
@@ -99,8 +99,9 @@ public void setPropertySources(PropertySources propertySources) {
99
99
}
100
100
101
101
/**
102
-
* {@code PropertySources} from the given {@link Environment}
103
-
* will be searched when replacing ${...} placeholders.
102
+
* {@inheritDoc}
103
+
* <p>{@code PropertySources} from the given {@link Environment} will be searched
104
+
* when replacing ${...} placeholders.
104
105
* @see #setPropertySources
105
106
* @see #postProcessBeanFactory
106
107
*/
@@ -173,6 +174,7 @@ public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
173
174
174
175
/**
175
176
* Create a {@link ConfigurablePropertyResolver} for the specified property sources.
177
+
* <p>The default implementation creates a {@link PropertySourcesPropertyResolver}.
176
178
* @param propertySources the property sources to use
0 commit comments