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

ASF subversion and git services commented on PDFBOX-2937:
---------------------------------------------------------

Commit 1696309 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1696309 ]

PDFBOX-2937: remove array declaration that hides field in base class, as 
suggested by Evgeniy Muravitskiy

> Field duplication in PDIndexed color space
> ------------------------------------------
>
>                 Key: PDFBOX-2937
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2937
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Evgeniy Muravitskiy
>
> Class {{PDColorSpace}} contains field: 
> {code}protected COSArray array;{code}
> But {{PDIndexed}} class also has field:
> {code}private COSArray array;{code}
> Thus, {{PDColorSpace.getCOSObject}} return {{null}} instead of array from 
> {{PDIndexed}}.
> Possible solutions:
> # discard duplicate field from {{PDIndexed}}
> # override method {{getCOSObject()}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to