You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/17 17:53:46 UTC

[jira] [Commented] (PDFBOX-2937) Field duplication in PDIndexed color space

    [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org