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

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

Evgeniy Muravitskiy created PDFBOX-2937:
-------------------------------------------

             Summary: 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