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

John Hewson updated PDFBOX-1600:
--------------------------------

    Component/s:     (was: PDModel)
                 Documentation

> COSDocument and PDDocument declare throws IOException when they don't
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-1600
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1600
>             Project: PDFBox
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 1.8.1
>            Reporter: Patrick Tucker
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The doc for COSDocument() says it throws an IOException if there is an error 
> creating the temp file.  If you dig through the code a temp is never created, 
> a value of null is assigned to tmpFile.
> Upon fixing the COSDocument() constructor, the constructor for PDDocument 
> will also not need to declare an IOException as a possible throws.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to