You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "G. Ralph Kuntz (JIRA)" <ji...@apache.org> on 2014/09/17 20:04:35 UTC

[jira] [Comment Edited] (PDFBOX-2355) newDocuments is private in Splitter

    [ https://issues.apache.org/jira/browse/PDFBOX-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137658#comment-14137658 ] 

G. Ralph Kuntz edited comment on PDFBOX-2355 at 9/17/14 6:04 PM:
-----------------------------------------------------------------

> Clearly you're the first person to try to use the subclassing functionality it provides

I kind of figured :-)

I used reflection to access the private field. I'll rewrite it properly once the new code is released.


was (Author: grkuntzmd):
> Clearly you're the first person to try to use the subclassing functionality it provides

I kind of figured :-)

> newDocuments is private in Splitter
> -----------------------------------
>
>                 Key: PDFBOX-2355
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2355
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.8.6
>         Environment: Ubuntu 14.04, Java 8_20
>            Reporter: G. Ralph Kuntz
>            Assignee: John Hewson
>              Labels: pdfbox
>             Fix For: 2.0.0
>
>
> The method `createNewDocument` in `Splitter` is protected, so it can be overridden, but one of the things it needs to do with the new document is add it to the `newDocuments` list, which is private.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)