This is an automated email from the ASF dual-hosted git repository. anatole pushed a commit to branch vote-0.4-incubating-01 in repository https://gitbox.apache.org/repos/asf/incubator-tamaya.git
commit cdb3b162d7c0ba75cf5f816abc043d5362068f29 Author: Anatole Tresch <atsti...@gmail.com> AuthorDate: Sun Aug 25 14:19:13 2019 +0200 TAMAYA-165 Ensuring multiple properties in different jars all loaded and ordered the correct way for evaluation. --- .../spisupport/propertysource/JavaConfigurationPropertySource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/JavaConfigurationPropertySource.java b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/JavaConfigurationPropertySource.java index ca65c97..0b90ca2 100644 --- a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/JavaConfigurationPropertySource.java +++ b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/JavaConfigurationPropertySource.java @@ -88,6 +88,7 @@ public class JavaConfigurationPropertySource extends BasePropertySource implemen for (URL currentUrl:propertyLocations) { propertySources.add(new SimplePropertySource(currentUrl)); } + propertySources.sort(PropertySourceComparator.getInstance()); return propertySources; }