Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
The current code iterate through LoadablePropertiesSource as follows:
for (PropertiesSource ps : sources) { if (ps instanceof LoadablePropertiesSource) { LoadablePropertiesSource lps = (LoadablePropertiesSource) ps; Properties p = lps.loadProperties(); prop.putAll(p); } }
As sources is ordered by Order, lower priority sources may override higher ones.