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 a8df6a88f39e07bd74bf2b6d0ebe9047ad77493e Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:34:37 2026 +0000 (chores): ensure usage of text blocks camel-netty-http --- .../component/netty/http/NettyHttpGetWithInvalidMessageTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpGetWithInvalidMessageTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpGetWithInvalidMessageTest.java index c130cfad277a..9f3b29167c00 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpGetWithInvalidMessageTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpGetWithInvalidMessageTest.java @@ -34,9 +34,12 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; public class NettyHttpGetWithInvalidMessageTest extends CamelTestSupport { - private static final String REQUEST_STRING = "user: Willem\n" - + "GET http://localhost:%s/test HTTP/1.1\n" - + "another: value\n Host: localhost\n"; + private static final String REQUEST_STRING = """ + user: Willem + GET http://localhost:%s/test HTTP/1.1 + another: value + Host: localhost + """; private int port1; @BindToRegistry("string-decoder")
