Related polishing

Issue: SPR-11386
This commit is contained in:
Juergen Hoeller
2014-02-04 16:45:14 +01:00
parent 60c1905cdd
commit 6634c19e6a
2 changed files with 5 additions and 14 deletions

View File

@@ -66,7 +66,6 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment {
*/
public static final String IGNORE_GETENV_PROPERTY_NAME = "spring.getenv.ignore";
/**
* Name of property to set to specify active profiles: {@value}. Value may be comma
* delimited.
@@ -122,14 +121,10 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment {
* @see #customizePropertySources(MutablePropertySources)
*/
public AbstractEnvironment() {
String name = getClass().getSimpleName();
if (this.logger.isDebugEnabled()) {
this.logger.debug(format("Initializing new %s", name));
}
customizePropertySources(this.propertySources);
if (this.logger.isDebugEnabled()) {
this.logger.debug(format(
"Initialized %s with PropertySources %s", name, this.propertySources));
"Initialized %s with PropertySources %s", getClass().getSimpleName(), this.propertySources));
}
}