pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1749136 - /pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java
Date Sun, 19 Jun 2016 07:31:56 GMT
Author: jahewson
Date: Sun Jun 19 07:31:56 2016
New Revision: 1749136

URL: http://svn.apache.org/viewvc?rev=1749136&view=rev
Log:
PDFBOX-3337: Don't clear data when closing an in-memory TTF stream

Modified:
    pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java

Modified: pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java?rev=1749136&r1=1749135&r2=1749136&view=diff
==============================================================================
--- pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java
(original)
+++ pdfbox/branches/2.0/fontbox/src/main/java/org/apache/fontbox/ttf/MemoryTTFDataStream.java
Sun Jun 19 07:31:56 2016
@@ -146,7 +146,6 @@ class MemoryTTFDataStream extends TTFDat
      */
     public void close() throws IOException
     {
-        data = null;
     }
     
     /**



Mime
View raw message