GitHub user TorstenF76 opened a pull request:
https://github.com/apache/pdfbox/pull/60
made enum fromString() less error-prone
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/TorstenF76/pdfbox enums
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/60.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #60
----
commit 140b5c791b6f981d55a616738d71a0421dc3ab30
Author: Torsten Flatter <torsten.flatter@...>
Date: 2018-11-25T18:49:39Z
made enum fromString() less error-prone
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]