You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/08/17 12:20:39 UTC
[camel] branch main updated: fixup! (chores) camel-util: simplify StringHelper capitalize/decapitalize methods (#11134)
This is an automated email from the ASF dual-hosted git repository.
orpiske 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 5483ac5f7d4 fixup! (chores) camel-util: simplify StringHelper capitalize/decapitalize methods (#11134)
5483ac5f7d4 is described below
commit 5483ac5f7d48f362ad17bb58b4d5c2cd5581624a
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Aug 17 14:20:19 2023 +0200
fixup! (chores) camel-util: simplify StringHelper capitalize/decapitalize methods (#11134)
---
core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java b/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java
index 359fcc0a837..8995d9ae900 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/StringHelper.java
@@ -496,7 +496,7 @@ public final class StringHelper {
return null;
}
- final char[] chars = text.toCharArray();
+ final char[] chars = ret.toCharArray();
// We are OK with the limitations of Character.toUpperCase. The symbols and ideographs
// for which it does not return the capitalized value should not be used here (this is