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

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

Commit 1882783 from le...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1882783 ]

PDFBOX-4987: use enums instead of strings for type1/2 key words as proposed by 
Simon Steiner and Maruan Sahyoun

> CharStringCommand should use referenced string
> ----------------------------------------------
>
>                 Key: PDFBOX-4987
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4987
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>            Reporter: Simon Steiner
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>
> CharStringCommand, Type2CharString and Type1CharString use duplicate string 
> instances, could they use enum or final strings so its easier to debug the 
> code
> eg
> static final x =new key(1, {color:#008000}"hstem");{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to