pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1601847 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
Date Wed, 11 Jun 2014 10:56:06 GMT
Author: tilman
Date: Wed Jun 11 10:56:05 2014
New Revision: 1601847

URL: http://svn.apache.org/r1601847
Log:
PDFBOX-2114: info message that document is encrypted, as suggested by Dave Smith

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java?rev=1601847&r1=1601846&r2=1601847&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java Wed Jun 11
10:56:05 2014
@@ -244,6 +244,10 @@ public class PDFParser extends BaseParse
             {
                 document.dereferenceObjectStreams();
             }
+            else
+            {
+                LOG.info("Document is encrypted");
+            }
             ConflictObj.resolveConflicts(document, conflictList);
         }
         catch( IOException e )



Mime
View raw message