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 2024/05/25 12:12:56 UTC
(camel) 11/25: (chores) camel-http: fix overly complex conversion to String
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 0a94b2c2144547c6a0183d554633953707759b11
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Fri May 24 20:02:19 2024 +0200
(chores) camel-http: fix overly complex conversion to String
Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
.../test/java/org/apache/camel/component/http/HttpProxyServerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyServerTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyServerTest.java
index be72bacc06f..dc624e8b97f 100644
--- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyServerTest.java
+++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProxyServerTest.java
@@ -145,7 +145,7 @@ public class HttpProxyServerTest extends BaseHttpTest {
}
private String getProxyPort() {
- return "" + proxy.getLocalPort();
+ return Integer.toString(proxy.getLocalPort());
}
}