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:
Phillip Webb
2017-06-07 17:03:31 -07:00
parent c675424189
commit 72cd24446d

View File

@@ -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) {