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

commit fbed324bf2c92b18db2fc146b904cdaa05f80d77
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Fri Mar 24 14:04:35 2023 +0100

    (chores) camel-http: use builtin Java methods for data conversion
---
 .../test/java/org/apache/camel/component/http/HttpConcurrentTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpConcurrentTest.java
 
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpConcurrentTest.java
index 5250255b0ae..a90911968a4 100644
--- 
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpConcurrentTest.java
+++ 
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpConcurrentTest.java
@@ -54,7 +54,7 @@ public class HttpConcurrentTest extends BaseHttpTest {
                         // ignore
                     }
                     response.setCode(HttpStatus.SC_OK);
-                    response.setEntity(new StringEntity("" + 
counter.incrementAndGet()));
+                    response.setEntity(new 
StringEntity(Integer.toString(counter.incrementAndGet())));
                 }).create();
         localServer.start();
 

Reply via email to