|
|
|
@ -231,7 +231,6 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS |
|
|
|
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment); |
|
|
|
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean containsProperty(String name) { |
|
|
|
public boolean containsProperty(String name) { |
|
|
|
for (PropertySource<?> propertySource : super.source.getPropertySources()) { |
|
|
|
for (PropertySource<?> propertySource : super.source.getPropertySources()) { |
|
|
|
@ -260,6 +259,7 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Fallback {@link PropertySource} that delegates to a raw {@link Environment}. |
|
|
|
* Fallback {@link PropertySource} that delegates to a raw {@link Environment}. |
|
|
|
* <p>Should never apply in a regular scenario, since the {@code Environment} |
|
|
|
* <p>Should never apply in a regular scenario, since the {@code Environment} |
|
|
|
@ -272,7 +272,6 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS |
|
|
|
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment); |
|
|
|
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean containsProperty(String name) { |
|
|
|
public boolean containsProperty(String name) { |
|
|
|
return super.source.containsProperty(name); |
|
|
|
return super.source.containsProperty(name); |
|
|
|
|