Browse Source

Make resolvePropertyName available to subclasses

Change `SystemEnvironmentPropertySource.resolvePropertyName` to a
protected final method so that subclasses may call it.

Issue: SPR-15617
pull/1449/merge
Phillip Webb 9 years ago
parent
commit
72cd24446d
  1. 2
      spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java

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

@ -102,7 +102,7 @@ public class SystemEnvironmentPropertySource extends MapPropertySource { @@ -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) {

Loading…
Cancel
Save