[
https://issues.apache.org/jira/browse/PDFBOX-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler updated PDFBOX-5628:
---------------------------------------
Fix Version/s: 2.0.30
(was: 2.0.29)
> Bug in PDFMergerUtility#mergeFields
> -----------------------------------
>
> Key: PDFBOX-5628
> URL: https://issues.apache.org/jira/browse/PDFBOX-5628
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.28
> Reporter: Stefan Ziegler
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.30
>
>
> Method:
> {code:java}
> PDFMergerUtility#mergeFields(PDFCloneUtility cloner, PDField destField,
> PDField srcField){code}
> There is the following code:
> {code:java}
> if (destField.getFieldType() == "Tx" && destField.getFieldType() ==
> "Tx"){code}
> I think the second destField should be srcField?
> An I think you should compare with equals here and not with ==
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]