gnodet-bot commented on code in PR #29972:
URL: https://github.com/apache/camel/pull/29972#discussion_r4577872739
##########
components/camel-pdf/src/main/java/org/apache/camel/component/pdf/PdfHeaderConstants.java:
##########
@@ -35,8 +35,12 @@ public final class PdfHeaderConstants {
@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")
+ No longer read by the component (no effect since Camel 2.21).""",
Review Comment:
The description still contains `"No longer read by the component (no effect
since Camel 2.21)."` and the generator then appends `"Deprecation note: No
longer read by the component since Camel 2.21: ..."` automatically — the
catalog shows the message twice.
Remove the sentence from the description and let `deprecationNote` carry the
explanation alone:
```suggestion
@Metadata(description = """
Expected type is
https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/pdmodel/encryption/DecryptionMaterial.html[DecryptionMaterial].""",
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]