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

Jens Kapitza commented on PDFBOX-1903:
--------------------------------------

i've looked at setReources and found out that it is the same stuff.

PDPageNode:
page.setItem( COSName.RESOURCES, resources.getCOSDictionary() );

PDPage:
  page.setItem(COSName.RESOURCES, resources); ->>  calls  
resources.getCOSObject() // same as PDPageNode in PDResources class.



> refactor pdmodel (pdpage)
> -------------------------
>
>                 Key: PDFBOX-1903
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1903
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Jens Kapitza
>            Assignee: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: pdfbox-refactor-pdpage.patch
>
>   Original Estimate: 1.5h
>  Remaining Estimate: 1.5h
>
> refactor pdpage stuff
> create a super class 
> remove duplicated code



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

Reply via email to