pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1766175 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
Date Sat, 22 Oct 2016 05:27:26 GMT
Author: tilman
Date: Sat Oct 22 05:27:26 2016
New Revision: 1766175

URL: http://svn.apache.org/viewvc?rev=1766175&view=rev
Log:
PDFBOX-3539: close document after printing, as suggested by Ivan Ridao Freitas

Modified:
    pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java?rev=1766175&r1=1766174&r2=1766175&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
Sat Oct 22 05:27:26 2016
@@ -60,6 +60,7 @@ public final class Printing
         //printWithDialog(document);
         //printWithDialogAndAttributes(document);
         //printWithPaper(document);
+        document.close();
     }
 
     /**



Mime
View raw message