Restored property source ordering (fixing regression from 4.0.x)
Issue: SPR-12198
This commit is contained in:
@@ -375,8 +375,7 @@ class ConfigurationClassParser {
|
||||
propertySources.addLast(propertySource);
|
||||
}
|
||||
else {
|
||||
String firstProcessed = this.propertySourceNames.iterator().next();
|
||||
propertySources.addBefore(firstProcessed, propertySource);
|
||||
propertySources.addFirst(propertySource);
|
||||
}
|
||||
}
|
||||
this.propertySourceNames.add(name);
|
||||
|
||||
Reference in New Issue
Block a user