You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2022/07/17 18:35:42 UTC
svn commit: r1902817 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java
Author: tilman
Date: Sun Jul 17 18:35:42 2022
New Revision: 1902817
URL: http://svn.apache.org/viewvc?rev=1902817&view=rev
Log:
PDFBOX-4892: remove unneeded exception, as suggested by Valery Bokov
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java?rev=1902817&r1=1902816&r2=1902817&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandler.java Sun Jul 17 18:35:42 2022
@@ -617,9 +617,8 @@ public abstract class SecurityHandler<T_
* @param objNum The object number.
* @param genNum The object generation number.
*
- * @throws IOException If an error occurs writing the new string.
*/
- private void decryptString(COSString string, long objNum, long genNum) throws IOException
+ private void decryptString(COSString string, long objNum, long genNum)
{
// String encrypted with identity filter
if (COSName.IDENTITY.equals(stringFilterName))