Stefan Ziegler created PDFBOX-5628:
--------------------------------------

             Summary: 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


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]

Reply via email to