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 6ec7dca0f04481aad886842f29dcf243c4607341 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:27:47 2026 +0000 (chores): ensure usage of text blocks components/camel-pdf --- .../camel/component/pdf/PdfHeaderConstants.java | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/PdfHeaderConstants.java b/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/PdfHeaderConstants.java index 037644939fae..a4258f3605f0 100644 --- a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/PdfHeaderConstants.java +++ b/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/PdfHeaderConstants.java @@ -19,23 +19,23 @@ package org.apache.camel.component.pdf; import org.apache.camel.spi.Metadata; public final class PdfHeaderConstants { - @Metadata(description = "Expected type is\n" + - "https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/encryption/ProtectionPolicy.html[ProtectionPolicy].\n" - + - "If specified then PDF document will be encrypted with it.", + @Metadata(description = """ + Expected type is + https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/encryption/ProtectionPolicy.html[ProtectionPolicy]. + If specified then PDF document will be encrypted with it.""", javaType = "org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy") public static final String PROTECTION_POLICY_HEADER_NAME = "protection-policy"; - @Metadata(description = "*Mandatory* header for `append` operation and ignored in all other\n" + - "operations. Expected type is\n" + - "https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/PDDocument.html[PDDocument].\n" - + - "Stores PDF document which will be used for append operation.", + @Metadata(description = """ + *Mandatory* header for `append` operation and ignored in all other + operations. Expected type is + https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/PDDocument.html[PDDocument]. + Stores PDF document which will be used for append operation.""", javaType = "org.apache.pdfbox.pdmodel.PDDocument") public static final String PDF_DOCUMENT_HEADER_NAME = "pdf-document"; - @Metadata(description = "Expected type is\n" + - "https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/encryption/DecryptionMaterial.html[DecryptionMaterial].\n" - + - "*Mandatory* header if PDF document is encrypted.", + @Metadata(description = """ + Expected type is + https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/encryption/DecryptionMaterial.html[DecryptionMaterial]. + *Mandatory* header if PDF document is encrypted.""", javaType = "org.apache.pdfbox.pdmodel.encryption.DecryptionMaterial") public static final String DECRYPTION_MATERIAL_HEADER_NAME = "decryption-material";
