Polishing

This commit is contained in:
Sam Brannen
2023-08-16 11:44:55 +02:00
parent d81ddcef34
commit 02d3269dbb
3 changed files with 6 additions and 4 deletions

View File

@@ -137,8 +137,8 @@ public class PropertySourceProcessor {
propertySources.addLast(propertySource);
}
else {
String firstProcessed = this.propertySourceNames.get(this.propertySourceNames.size() - 1);
propertySources.addBefore(firstProcessed, propertySource);
String lastAdded = this.propertySourceNames.get(this.propertySourceNames.size() - 1);
propertySources.addBefore(lastAdded, propertySource);
}
this.propertySourceNames.add(name);
}