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

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


The following commit(s) were added to refs/heads/camel-4.8.x by this push:
     new 36cbe9884fa Polished
36cbe9884fa is described below

commit 36cbe9884faa4e8264dfc5d580783731b345abc2
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Oct 5 08:18:35 2024 +0200

    Polished
---
 .../src/main/java/org/apache/camel/main/BaseMainSupport.java          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java 
b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
index e57458663a2..cb7ec3a4f78 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
@@ -2310,10 +2310,10 @@ public abstract class BaseMainSupport extends 
BaseService {
     protected void doAutowireWildcardProperties(String name, Component 
component) {
         Map<PropertyOptionKey, OrderedLocationProperties> properties = new 
LinkedHashMap<>();
         OrderedLocationProperties autoConfiguredProperties = new 
OrderedLocationProperties();
-        String match = ("camel.component." + name).toLowerCase(Locale.ENGLISH);
+        String match = ("camel.component." + name).toLowerCase(Locale.US);
 
         for (String key : wildcardProperties.stringPropertyNames()) {
-            String mKey = key.substring(0, 
key.indexOf('*')).toLowerCase(Locale.ENGLISH);
+            String mKey = key.substring(0, 
key.indexOf('*')).toLowerCase(Locale.US);
             if (match.startsWith(mKey)) {
                 computeProperties("camel.component.", key, wildcardProperties, 
properties,
                         s -> Collections.singleton(component));

Reply via email to