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 <[email protected]> AuthorDate: Fri May 24 20:02:19 2024 +0200 (chores) camel-http: fix overly complex conversion to String Signed-off-by: Otavio R. Piske <[email protected]> --- .../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()); } }
