valerybokov opened a new pull request, #424:
URL: https://github.com/apache/pdfbox/pull/424

   I've extracted several methods because the decryptDictionary(COSDictionary, 
long, long) method has type checks (old code, line 616), and the 
decrypt(COSBase, long, long) method has the same type checks. So, there is 
double type check in the code. The new implementation of the decryptDictionary 
method calls overloads of the decrypt method for each type (COSString, 
COSArray, COSDictionary) to avoid double type check.
   
   Perhaps all of these new methods should be made public (or all of them 
private). You're the one in charge.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to