pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1767690 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java
Date Wed, 02 Nov 2016 14:56:16 GMT
Author: msahyoun
Date: Wed Nov  2 14:56:16 2016
New Revision: 1767690

URL: http://svn.apache.org/viewvc?rev=1767690&view=rev
Log:
PDFBOX-3551: fix number of max allowed command line arguments to match maximum input

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java?rev=1767690&r1=1767689&r2=1767690&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/Decrypt.java Wed Nov  2 14:56:16
2016
@@ -65,7 +65,7 @@ public final class Decrypt
     
     private void parseCommandLineArgs(String[] args)
     {
-        if( args.length < 1 || args.length > 5 )
+        if( args.length < 1 || args.length > 8 )
         {
             usage();
         }



Mime
View raw message