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 166e27f18f7dc06bd0ec7796729c0c778c4973e5 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:27:42 2026 +0000 (chores): ensure usage of text blocks components/camel-minio --- .../camel/component/minio/MinioConstants.java | 88 +++++++++++----------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConstants.java b/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConstants.java index 5d41795b4afb..757e5a12545f 100644 --- a/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConstants.java +++ b/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConstants.java @@ -30,80 +30,80 @@ public interface MinioConstants { @Metadata(label = "producer", description = "The bucket Destination Name which will be used for the current operation.", javaType = "String") String DESTINATION_BUCKET_NAME = "CamelMinioDestinationBucketName"; - @Metadata(description = "*Producer:* The content control of this object. " + - "*Consumer:* The *optional* Cache-Control HTTP header which allows the user to\n" + - "specify caching behavior along the HTTP request/reply chain.", + @Metadata(description = """ + *Producer:* The content control of this object. *Consumer:* The *optional* Cache-Control HTTP header which allows the user to + specify caching behavior along the HTTP request/reply chain.""", javaType = "String") String CACHE_CONTROL = "CamelMinioContentControl"; - @Metadata(description = "*Producer:* The content disposition of this object. " + - "*Consumer:* The *optional* Content-Disposition HTTP header, which specifies\n" + - "presentational information such as the recommended filename for the\n" + - "object to be saved as.", + @Metadata(description = """ + *Producer:* The content disposition of this object. *Consumer:* The *optional* Content-Disposition HTTP header, which specifies + presentational information such as the recommended filename for the + object to be saved as.""", javaType = "String") String CONTENT_DISPOSITION = "CamelMinioContentDisposition"; - @Metadata(description = "*Producer:* The content encoding of this object. " + - "*Consumer:* The *optional* Content-Encoding HTTP header specifying what content\n" + - "encodings have been applied to the object and what decoding mechanisms\n" + - "must be applied in order to obtain the media-type referenced by the\n" + - "Content-Type field.", + @Metadata(description = """ + *Producer:* The content encoding of this object. *Consumer:* The *optional* Content-Encoding HTTP header specifying what content + encodings have been applied to the object and what decoding mechanisms + must be applied in order to obtain the media-type referenced by the + Content-Type field.""", javaType = "String") String CONTENT_ENCODING = "CamelMinioContentEncoding"; - @Metadata(description = "*Producer:* The content length of this object. " + - "*Consumer:* The Content-Length HTTP header indicating the size of the associated\n" + - "object in bytes.", + @Metadata(description = """ + *Producer:* The content length of this object. *Consumer:* The Content-Length HTTP header indicating the size of the associated + object in bytes.""", javaType = "Long") String CONTENT_LENGTH = "CamelMinioContentLength"; - @Metadata(description = "*Producer:* The md5 checksum of this object. " + - "*Consumer:* The base64 encoded 128-bit MD5 digest of the associated object (content\n" + - "- not including headers) according to RFC 1864. This data is used as a\n" + - "message integrity check to verify that the data received by Minio is\n" + - "the same data that the caller sent.", + @Metadata(description = """ + *Producer:* The md5 checksum of this object. *Consumer:* The base64 encoded 128-bit MD5 digest of the associated object (content + - not including headers) according to RFC 1864. This data is used as a + message integrity check to verify that the data received by Minio is + the same data that the caller sent.""", javaType = "String") String CONTENT_MD5 = "CamelMinioContentMD5"; - @Metadata(description = "*Producer:* The content type of this object. " + - "*Consumer:* The Content-Type HTTP header, which indicates the type of content stored\n" + - "in the associated object. The value of this header is a standard MIME\n" + - "type.", + @Metadata(description = """ + *Producer:* The content type of this object. *Consumer:* The Content-Type HTTP header, which indicates the type of content stored + in the associated object. The value of this header is a standard MIME + type.""", javaType = "String") String CONTENT_TYPE = "CamelMinioContentType"; - @Metadata(description = "*Producer:* The ETag value for the newly uploaded object. " + - "*Consumer:* The hex encoded 128-bit MD5 digest of the associated object according to\n" + - "RFC 1864. This data is used as an integrity check to verify that the\n" + - "data received by the caller is the same data that was sent by Minio", + @Metadata(description = """ + *Producer:* The ETag value for the newly uploaded object. *Consumer:* The hex encoded 128-bit MD5 digest of the associated object according to + RFC 1864. This data is used as an integrity check to verify that the + data received by the caller is the same data that was sent by Minio""", javaType = "String") String E_TAG = "CamelMinioETag"; - @Metadata(description = "*Producer:* The key under which this object will be stored or which will be used for the current operation. " - + - "*Consumer:* The key under which this object is stored.", + @Metadata(description = """ + *Producer:* The key under which this object will be stored or which will be used for the current operation. *Consumer:* The key under which this object is stored.""", javaType = "String") String OBJECT_NAME = "CamelMinioObjectName"; @Metadata(label = "producer", description = "The Destination key which will be used for the current operation.", javaType = "String") String DESTINATION_OBJECT_NAME = "CamelMinioDestinationObjectName"; - @Metadata(description = "*Producer:* The last modified timestamp of this object. " + - "*Consumer:* The value of the Last-Modified header, indicating the date and time at\n" + - "which Minio last recorded a modification to the associated object.", + @Metadata(description = """ + *Producer:* The last modified timestamp of this object. *Consumer:* The value of the Last-Modified header, indicating the date and time at + which Minio last recorded a modification to the associated object.""", javaType = "java.util.Date") String LAST_MODIFIED = "CamelMinioLastModified"; @Metadata(label = "producer", description = "The storage class of this object.", javaType = "String") String STORAGE_CLASS = "CamelMinioStorageClass"; - @Metadata(description = "*Producer:* The version Id of the object to be stored or returned from the current operation. " + - "*Consumer:* The version ID of the associated Minio object if available. Version\n" + - "IDs are only assigned to objects when an object is uploaded to an Minio bucket that has object versioning enabled.", + @Metadata(description = """ + *Producer:* The version Id of the object to be stored or returned from the current operation. *Consumer:* The version ID of the associated Minio object if available. Version + IDs are only assigned to objects when an object is uploaded to an Minio bucket that has object versioning enabled.""", javaType = "String") String VERSION_ID = "CamelMinioVersionId"; - @Metadata(label = "producer", description = "The canned acl that will be applied to the object. see\n" + - "`com.amazonaws.services.s3.model.CannedAccessControlList` for allowed\n" + - "values.", + @Metadata(label = "producer", description = """ + The canned acl that will be applied to the object. see + `com.amazonaws.services.s3.model.CannedAccessControlList` for allowed + values.""", javaType = "String") String CANNED_ACL = "CamelMinioCannedAcl"; @Metadata(label = "producer", description = "The operation to perform.", javaType = "org.apache.camel.component.minio.MinioOperations") String MINIO_OPERATION = "CamelMinioOperation"; - @Metadata(description = "*Producer:* Sets the server-side encryption algorithm when encrypting\n" + - "the object using Minio-managed keys. For example use AES256. " + - "*Consumer:* The server-side encryption algorithm when encrypting the\n" + - "object using Minio-managed keys.", + @Metadata(description = """ + *Producer:* Sets the server-side encryption algorithm when encrypting + the object using Minio-managed keys. For example use AES256. *Consumer:* The server-side encryption algorithm when encrypting the + object using Minio-managed keys.""", javaType = "String") String SERVER_SIDE_ENCRYPTION = "CamelMinioServerSideEncryption"; @Metadata(description = "The expiration time", javaType = "String")
