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

    (chores): ensure usage of text blocks components/camel-file-watch
---
 .../component/file/watch/FileWatchConstants.java   | 26 +++++++++++++---------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git 
a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConstants.java
 
b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConstants.java
index e3f991e44c77..6697fb65abdb 100644
--- 
a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConstants.java
+++ 
b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConstants.java
@@ -25,23 +25,27 @@ public final class FileWatchConstants {
     public static final String EVENT_TYPE_HEADER = "CamelFileEventType";
     @Metadata(description = "Only the file name (the name with no leading 
paths).", javaType = "String")
     public static final String FILE_NAME_ONLY = Exchange.FILE_NAME_ONLY;
-    @Metadata(description = "A `boolean` option specifying whether the 
consumed file denotes an\n" +
-                            "absolute path or not. Should normally be `false` 
for relative paths.\n" +
-                            "Absolute paths should normally not be used but we 
added to the move\n" +
-                            "option to allow moving files to absolute paths. 
But can be used\n" +
-                            "elsewhere as well.",
+    @Metadata(description = """
+            A `boolean` option specifying whether the consumed file denotes an
+            absolute path or not. Should normally be `false` for relative 
paths.
+            Absolute paths should normally not be used but we added to the move
+            option to allow moving files to absolute paths. But can be used
+            elsewhere as well.""",
               javaType = "Boolean")
     public static final String FILE_ABSOLUTE = "CamelFileAbsolute";
-    @Metadata(description = "The absolute path to the file. For relative files 
this path holds the\n" +
-                            "relative path instead.",
+    @Metadata(description = """
+            The absolute path to the file. For relative files this path holds 
the
+            relative path instead.""",
               javaType = "String")
     public static final String FILE_ABSOLUTE_PATH = "CamelFileAbsolutePath";
-    @Metadata(description = "The file path. For relative files this is the 
starting directory + the\n" +
-                            "relative filename. For absolute files this is the 
absolute path.",
+    @Metadata(description = """
+            The file path. For relative files this is the starting directory + 
the
+            relative filename. For absolute files this is the absolute 
path.""",
               javaType = "String")
     public static final String FILE_PATH = Exchange.FILE_PATH;
-    @Metadata(description = "Name of the consumed file as a relative file path 
with offset from the\n" +
-                            "starting directory configured on the endpoint.",
+    @Metadata(description = """
+            Name of the consumed file as a relative file path with offset from 
the
+            starting directory configured on the endpoint.""",
               javaType = "String", important = true)
     public static final String FILE_NAME = Exchange.FILE_NAME;
     @Metadata(description = "The relative path.", javaType = "String")

Reply via email to