pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1818675 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
Date Tue, 19 Dec 2017 14:46:23 GMT
Author: tilman
Date: Tue Dec 19 14:46:23 2017
New Revision: 1818675

URL: http://svn.apache.org/viewvc?rev=1818675&view=rev
Log:
PDFBOX-3984: add logging

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java?rev=1818675&r1=1818674&r2=1818675&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
Tue Dec 19 14:46:23 2017
@@ -174,6 +174,7 @@ public class AddValidationInformation
             }
             catch (InstantiationException | IllegalAccessException e)
             {
+                LOG.error("Failed to create new instance of " + clazz.getCanonicalName(),
e);
                 return null;
             }
             result.setDirect(false);
@@ -423,7 +424,6 @@ public class AddValidationInformation
 
     public static void main(String[] args) throws IOException, GeneralSecurityException
     {
-        args = new String[]{"C:\\Users\\Tilman Hausherr\\Documents\\Java\\PDFBoxPageImageExtraction\\1_only_signed.pdf"};
         if (args.length != 1)
         {
             usage();



Mime
View raw message