[ 
https://issues.apache.org/jira/browse/PDFBOX-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-4544.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 3.0.0 PDFBox
                   2.0.16

Thanks, fixed.

> COSWriter.doWriteHeader(COSDocument) should use the document specified as 
> parameter
> -----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4544
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4544
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Writing
>    Affects Versions: 2.0.14
>            Reporter: Jonathan
>            Assignee: Tilman Hausherr
>            Priority: Trivial
>             Fix For: 2.0.16, 3.0.0 PDFBox
>
>
> {{COSWriter.doWriteHeader(COSDocument)}} currently takes a COSDocument as a 
> parameter and its javadoc specifies that this document is used to retrieve 
> the header data from. Still, the implementation actually uses the property 
> {{fdDocument}} or {{pdDocument}} to get the pdf version number. This is 
> usually equivalent to using the passed document, but there may be cases where 
> this violates the contract specified in the javadoc. Besides, using the 
> passed doc results in slightly less verbose code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to