Skip to content

Commit 72cd244

Browse files
committed
Make resolvePropertyName available to subclasses
Change `SystemEnvironmentPropertySource.resolvePropertyName` to a protected final method so that subclasses may call it. Issue: SPR-15617
1 parent c675424 commit 72cd244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Object getProperty(String name) {
102102
* any underscore / uppercase variation thereof. Return the resolved name if one is
103103
* found or otherwise the original name. Never returns {@code null}.
104104
*/
105-
private String resolvePropertyName(String name) {
105+
protected final String resolvePropertyName(String name) {
106106
Assert.notNull(name, "Property name must not be null");
107107
String resolvedName = checkPropertyName(name);
108108
if (resolvedName != null) {

0 commit comments

Comments
 (0)