mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Restored property source ordering (fixing regression from 4.0.x)
Issue: SPR-12198
This commit is contained in:
+1
-2
@@ -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