You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/10/05 06:18:44 UTC
(camel) branch main updated: Polished
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 9bb79b0a22b Polished
9bb79b0a22b is described below
commit 9bb79b0a22b5951e298facc6f72e92c5712246a7
Author: Claus Ibsen <cl...@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));