pdfbox-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1769743&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=1769743&r1=1769742&r2=1769743&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 07:44:11 2016
@@ -1411,7 +1411,6 @@ public class PDDocument implements Pagea
             output.write("\r\n".getBytes("ISO-8859-1"));
             writer = new COSWriter( output, input );
             writer.write( this );
-            writer.close();
         }
         finally
         {



Mime
View raw message