|
|
|
@ -121,12 +121,15 @@ public class PropertySourcesPropertyValues implements PropertyValues {
|
|
|
|
|
.contains(source.getName()) && !includes.matches(propertyName)) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
Object value = source.getProperty(propertyName);
|
|
|
|
|
Object value = null;
|
|
|
|
|
try {
|
|
|
|
|
value = resolver.getProperty(propertyName);
|
|
|
|
|
value = resolver.getProperty(propertyName, Object.class);
|
|
|
|
|
}
|
|
|
|
|
catch (RuntimeException ex) {
|
|
|
|
|
// Probably could not resolve placeholders, ignore it here
|
|
|
|
|
if (value == null) {
|
|
|
|
|
value = source.getProperty(propertyName);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (!this.propertyValues.containsKey(propertyName)) {
|
|
|
|
|
this.propertyValues.put(propertyName, new PropertyValue(propertyName,
|
|
|
|
|