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

Tilman Hausherr commented on PDFBOX-2391:
-----------------------------------------

Oops... I see I accidentally committed my own temporary fix, while fixing 
something else in that class. I changed
{code}
return RenderingIntent.valueOf(ri);
{code}
to
{code}
return RenderingIntent.fromString(ri);
{code}
Agreed?

> Use an enum for RenderingIntent
> -------------------------------
>
>                 Key: PDFBOX-2391
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2391
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The rendering intent in the graphics state is currently a String, we should 
> replace it with a RenderingIntent enum.



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

Reply via email to