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 06e7d576a7f24df693d3ce51787781118168853b Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:27:24 2026 +0000 (chores): ensure usage of text blocks components/camel-ehcache --- .../camel/component/ehcache/EhcacheConstants.java | 40 ++++++++++++---------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java index d9ba28a21b18..eeb4ec6d8976 100644 --- a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java +++ b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java @@ -19,17 +19,18 @@ package org.apache.camel.component.ehcache; import org.apache.camel.spi.Metadata; public interface EhcacheConstants { - @Metadata(description = "The operation to be performed on the cache, valid options are:\n" + - "\n" + - "* CLEAR\n" + - "* PUT\n" + - "* PUT_ALL\n" + - "* PUT_IF_ABSENT\n" + - "* GET\n" + - "* GET_ALL\n" + - "* REMOVE\n" + - "* REMOVE_ALL\n" + - "* REPLACE", + @Metadata(description = """ + The operation to be performed on the cache, valid options are: + + * CLEAR + * PUT + * PUT_ALL + * PUT_IF_ABSENT + * GET + * GET_ALL + * REMOVE + * REMOVE_ALL + * REPLACE""", javaType = "String") String ACTION = "CamelEhcacheAction"; @Metadata(description = "Set to true if the action has a result", javaType = "Boolean") @@ -38,17 +39,20 @@ public interface EhcacheConstants { String ACTION_SUCCEEDED = "CamelEhcacheActionSucceeded"; @Metadata(description = "The cache key used for an action", javaType = "Object") String KEY = "CamelEhcacheKey"; - @Metadata(description = "A list of keys, used in\n" + - "\n" + - "* PUT_ALL\n" + - "* GET_ALL\n" + - "* REMOVE_ALL\n", + @Metadata(description = """ + A list of keys, used in + + * PUT_ALL + * GET_ALL + * REMOVE_ALL + """, javaType = "Set<Object>") String KEYS = "CamelEhcacheKeys"; @Metadata(description = "The value to put in the cache or the result of an operation", javaType = "Object") String VALUE = "CamelEhcacheValue"; - @Metadata(description = "The old value associated to a key for actions like PUT_IF_ABSENT or the\n" + - "Object used for comparison for actions like REPLACE", + @Metadata(description = """ + The old value associated to a key for actions like PUT_IF_ABSENT or the + Object used for comparison for actions like REPLACE""", javaType = "Object") String OLD_VALUE = "CamelEhcacheOldValue"; @Metadata(description = "The type of event received", javaType = "EventType")
