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 05f172e680c Fixed CS
05f172e680c is described below

commit 05f172e680c8a20fffbf9dfac638677c6bd6accc
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Apr 11 06:29:15 2023 +0200

    Fixed CS
---
 .../src/main/java/org/apache/camel/util/json/Jsoner.java                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Jsoner.java 
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Jsoner.java
index d690ecd3447..de62c3e90dd 100644
--- 
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Jsoner.java
+++ 
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Jsoner.java
@@ -513,7 +513,7 @@ public final class Jsoner {
                             || character >= '\u2000' && character <= '\u20FF') 
{
                         final String characterHexCode = 
Integer.toHexString(character);
                         builder.append("\\u");
-                        builder.append("0".repeat((4 - 
characterHexCode.length())));
+                        builder.append("0".repeat(4 - 
characterHexCode.length()));
                         builder.append(characterHexCode.toUpperCase());
                     } else {
                         /* Character didn't need escaping. */

Reply via email to