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 cd1bf7ef1bbe2e5ff013f02bbbb955ed0704f488
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jan 26 20:27:45 2026 +0000

    (chores): ensure usage of text blocks components/camel-netty-http
---
 .../component/netty/http/NettyHttpConstants.java   | 39 +++++++++++++---------
 1 file changed, 23 insertions(+), 16 deletions(-)

diff --git 
a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConstants.java
 
b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConstants.java
index 874521001690..4383818af36f 100644
--- 
a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConstants.java
+++ 
b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConstants.java
@@ -30,21 +30,24 @@ public final class NettyHttpConstants {
     public static final String CONTENT_TYPE_WWW_FORM_URLENCODED = 
"application/x-www-form-urlencoded";
     @Deprecated
     public static final String HTTP_RESPONSE_TEXT = 
Exchange.HTTP_RESPONSE_TEXT;
-    @Metadata(description = "If the user was authenticated using HTTP Basic 
then this header is added\n" +
-                            "with the value `Basic`.",
+    @Metadata(description = """
+            If the user was authenticated using HTTP Basic then this header is 
added
+            with the value `Basic`.""",
               javaType = "String")
     public static final String HTTP_AUTHENTICATION = "CamelHttpAuthentication";
 
-    @Metadata(description = "To set the content-type of the HTTP body. For 
example:\n" +
-                            "`text/plain; charset=\"UTF-8\"`.",
+    @Metadata(description = """
+            To set the content-type of the HTTP body. For example:
+            `text/plain; charset="UTF-8"`.""",
               javaType = "String", important = true)
     public static final String CONTENT_TYPE = Exchange.CONTENT_TYPE;
     @Metadata(description = "The value of the HTTP header connection to use.", 
javaType = "String")
     public static final String CONNECTION = 
HttpHeaderNames.CONNECTION.toString();
     @Metadata(description = "Indicates whether the channel should be closed 
after complete.", javaType = "Boolean")
     public static final String NETTY_CLOSE_CHANNEL_WHEN_COMPLETE = 
NettyConstants.NETTY_CLOSE_CHANNEL_WHEN_COMPLETE;
-    @Metadata(description = "Allows to set the HTTP Status code to use. By 
default 200 is used for\n" +
-                            "success, and 500 for failure.",
+    @Metadata(description = """
+            Allows to set the HTTP Status code to use. By default 200 is used 
for
+            success, and 500 for failure.""",
               javaType = "Integer", important = true)
     public static final String HTTP_RESPONSE_CODE = 
Exchange.HTTP_RESPONSE_CODE;
     @Metadata(description = "The version of the HTTP protocol.", javaType = 
"String", defaultValue = "HTTP/1.1")
@@ -53,24 +56,28 @@ public final class NettyHttpConstants {
     public static final String HTTP_METHOD = Exchange.HTTP_METHOD;
     @Metadata(description = "Any query parameters, such as 
`foo=bar&beer=yes`", javaType = "String")
     public static final String HTTP_QUERY = Exchange.HTTP_QUERY;
-    @Metadata(description = "Allows to provide URI context-path and query 
parameters as a `String`\n" +
-                            "value that overrides the endpoint configuration. 
This allows to reuse\n" +
-                            "the same producer for calling same remote http 
server, but using a\n" +
-                            "dynamic context-path and query parameters.",
+    @Metadata(description = """
+            Allows to provide URI context-path and query parameters as a 
`String`
+            value that overrides the endpoint configuration. This allows to 
reuse
+            the same producer for calling same remote http server, but using a
+            dynamic context-path and query parameters.""",
               javaType = "String")
     public static final String HTTP_PATH = Exchange.HTTP_PATH;
-    @Metadata(description = "Any query parameters, such as `foo=bar&beer=yes`. 
Stored in the raw\n" +
-                            "form, as they arrived to the consumer (i.e. 
before URL decoding).",
+    @Metadata(description = """
+            Any query parameters, such as `foo=bar&beer=yes`. Stored in the raw
+            form, as they arrived to the consumer (i.e. before URL 
decoding).""",
               javaType = "String")
     public static final String HTTP_RAW_QUERY = Exchange.HTTP_RAW_QUERY;
-    @Metadata(description = "The URL including protocol, host and port, etc: 
\n" +
-                            "`\\http://0.0.0.0:8080/myapp`.";,
+    @Metadata(description = """
+            The URL including protocol, host and port, etc:\s
+            `\\http://0.0.0.0:8080/myapp`.""";,
               javaType = "String")
     public static final String HTTP_URL = Exchange.HTTP_URL;
     @Metadata(description = "The charset from the content-type header.", 
javaType = "String")
     public static final String HTTP_CHARACTER_ENCODING = 
Exchange.HTTP_CHARACTER_ENCODING;
-    @Metadata(description = "The URI without protocol, host and port, etc:\n" +
-                            "`/myapp`.",
+    @Metadata(description = """
+            The URI without protocol, host and port, etc:
+            `/myapp`.""",
               javaType = "String")
     public static final String HTTP_URI = Exchange.HTTP_URI;
 

Reply via email to