pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1651167 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateVisibleSignature.java
Date Mon, 12 Jan 2015 19:04:43 GMT
Author: lehmi
Date: Mon Jan 12 19:04:43 2015
New Revision: 1651167

URL: http://svn.apache.org/r1651167
Log:
PDFBOX-2515: use the non-sequential parser instead of the legacy parser

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

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateVisibleSignature.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateVisibleSignature.java?rev=1651167&r1=1651166&r2=1651167&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateVisibleSignature.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateVisibleSignature.java
Mon Jan 12 19:04:43 2015
@@ -128,7 +128,7 @@ public class CreateVisibleSignature impl
         fis.close();
 
         // load document
-        PDDocument doc = PDDocument.loadLegacy(document);
+        PDDocument doc = PDDocument.load(document);
 
         // create signature dictionary
         PDSignature signature = new PDSignature();



Mime
View raw message