mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Make resolvePropertyName available to subclasses
Change `SystemEnvironmentPropertySource.resolvePropertyName` to a protected final method so that subclasses may call it. Issue: SPR-15617
This commit is contained in:
Vendored
+1
-1
@@ -102,7 +102,7 @@ public class SystemEnvironmentPropertySource extends MapPropertySource {
|
||||
* any underscore / uppercase variation thereof. Return the resolved name if one is
|
||||
* found or otherwise the original name. Never returns {@code null}.
|
||||
*/
|
||||
private String resolvePropertyName(String name) {
|
||||
protected final String resolvePropertyName(String name) {
|
||||
Assert.notNull(name, "Property name must not be null");
|
||||
String resolvedName = checkPropertyName(name);
|
||||
if (resolvedName != null) {
|
||||
|
||||
Reference in New Issue
Block a user