You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/09/03 15:32:33 UTC

[jira] Resolved: (PDFBOX-793) scratchfile ignored in PDDocument load( File file, RandomAccess scratchFile )

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

Jukka Zitting resolved PDFBOX-793.
----------------------------------

         Assignee: Jukka Zitting
    Fix Version/s: 1.3.0
       Resolution: Fixed

Good point, thanks! I fixed this as suggested in revision 992292 by passing the scratchFile parameter on to the PDFParser instance.

> scratchfile ignored in PDDocument load( File file, RandomAccess scratchFile )
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-793
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-793
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.2.1
>            Reporter: Ryan McKinley
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> The PDDocument load function:
> {code:java}
>     public static PDDocument load( File file, RandomAccess scratchFile ) throws IOException
>     {
>         return load( new FileInputStream( file ) );
>     }
> {code}
> ignores the scratchFile -- either drop the parameter or actualy pass it on

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.