You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/12/05 18:50:00 UTC
[jira] [Resolved] (PDFBOX-4397) made enum fromString() less
error-prone
[ https://issues.apache.org/jira/browse/PDFBOX-4397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-4397.
-------------------------------------
Resolution: Fixed
> made enum fromString() less error-prone
> ---------------------------------------
>
> Key: PDFBOX-4397
> URL: https://issues.apache.org/jira/browse/PDFBOX-4397
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.13
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Labels: enum
> Fix For: 2.0.14, 3.0.0 PDFBox
>
> Attachments: 60.patch
>
>
> Patch proposed by TorstenF76:
> {quote}This is no major issue, but when I saw it, i could not leave it as it was. So many hard coded duplicate strings. Error-prone on new enum values.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org