pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1769889 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Date Tue, 15 Nov 2016 21:56:07 GMT
Author: tilman
Date: Tue Nov 15 21:56:07 2016
New Revision: 1769889

URL: http://svn.apache.org/viewvc?rev=1769889&view=rev
Log:
PDFBOX-3570: one close is enough

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java?rev=1769889&r1=1769888&r2=1769889&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java Tue
Nov 15 21:56:07 2016
@@ -1365,7 +1365,6 @@ public class PDDocument implements Pagea
         {
             writer = new COSWriter( output );
             writer.write( this );
-            writer.close();
         }
         finally
         {



Mime
View raw message