Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.27, 3.0.0 PDFBox
-
None
-
None
-
Patch
Description
Most of the changes make the code just more readable and the compiler does auto(un)boxing where necessary.
Replacing Boolean.valueOf() and Float.valueOf() on the other hand completely avoids a boxing/unboxing cycle because in both cases the result is stored in a primitive.
PR: https://github.com/apache/pdfbox/pull/159
And a question: do you prefer patches or pull requests for PDFBox?