This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new fb47e92  CAMEL-15571 The order of loading settings is changed in the 
method AbstractLocationPropertiesSource::loadProperties(Predicate) (#4286)
fb47e92 is described below

commit fb47e92341b2a1d31fdfba515a918a5145cafacc
Author: Chandrakant Hardahe <[email protected]>
AuthorDate: Thu Sep 24 19:57:47 2020 +0530

    CAMEL-15571 The order of loading settings is changed in the method 
AbstractLocationPropertiesSource::loadProperties(Predicate) (#4286)
    
    Co-authored-by: Chandrakant Hardahe <[email protected]>
---
 .../camel/component/properties/AbstractLocationPropertiesSource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-base/src/main/java/org/apache/camel/component/properties/AbstractLocationPropertiesSource.java
 
b/core/camel-base/src/main/java/org/apache/camel/component/properties/AbstractLocationPropertiesSource.java
index b9b858c..4b67049 100644
--- 
a/core/camel-base/src/main/java/org/apache/camel/component/properties/AbstractLocationPropertiesSource.java
+++ 
b/core/camel-base/src/main/java/org/apache/camel/component/properties/AbstractLocationPropertiesSource.java
@@ -54,7 +54,7 @@ public abstract class AbstractLocationPropertiesSource 
extends ServiceSupport
 
     @Override
     public Properties loadProperties(Predicate<String> filter) {
-        Properties answer = new Properties();
+        Properties answer = new OrderedProperties();
 
         for (String name : properties.stringPropertyNames()) {
             if (filter.test(name)) {

Reply via email to