This commit is contained in:
Phillip Webb
2018-10-10 12:20:03 -07:00
parent 60719bd982
commit 8da295998b

View File

@@ -19,7 +19,6 @@ package org.springframework.boot.context.properties.source;
import java.util.function.Predicate;
import org.springframework.boot.origin.OriginTrackedValue;
import org.springframework.core.env.PropertySource;
/**
* A source of {@link ConfigurationProperty ConfigurationProperties}.
@@ -77,9 +76,11 @@ public interface ConfigurationPropertySource {
}
/**
* Return the underlying {@link PropertySource}.
* @return the underlying property source.
* Return the underlying source that is actually providing the properties.
* @return the underlying property source or {@code null}.
*/
Object getUnderlyingSource();
default Object getUnderlyingSource() {
return null;
}
}