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

Andreas Lehmkühler edited comment on PDFBOX-1248 at 3/13/12 10:18 PM:
----------------------------------------------------------------------

I fixed the setter in revision 1300382 as proposed and added some other minor 
changes

Thanks for the contribution!
                
      was (Author: lehmi):
    I fixed the setter in revision 1300382 as proposed and added some other 
minor changes
                  
> PDNumberTreeNode method setNumbers( Map numbers ) sets the key for the for 
> the Nums dictionary entry to Names rather than Nums
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1248
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1248
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.6.0
>         Environment: Windows 7; JDK 1.6
>            Reporter: Sheila Morrissey
>            Assignee: Andreas Lehmkühler
>              Labels: pdfbox
>             Fix For: 1.7.0
>
>
> PDNumberTreeNode setNumbers(Map numbers) uses "Names" rather than "Nums" as 
> key for Nums entry in NumberTreeNode dictionary.
> Any number tree node updated this way will, upon execution of getNumbers(), 
> return null, and will in fact be an invalid NumberTreeNode
> Line in method with problem is #256:
>          node.setItem( "Names", array );

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to