pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1780964 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java
Date Mon, 30 Jan 2017 18:45:29 GMT
Author: tilman
Date: Mon Jan 30 18:45:29 2017
New Revision: 1780964

URL: http://svn.apache.org/viewvc?rev=1780964&view=rev
Log:
PDFBOX-3668: don't delete /Length after successful reading

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java?rev=1780964&r1=1780963&r2=1780964&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java Mon Jan 30
18:45:29 2017
@@ -995,10 +995,6 @@ public class COSParser extends BaseParse
                 {
                     stream.setItem(COSName.LENGTH, streamLengthObj);
                 }
-                else
-                {
-                    stream.removeItem(COSName.LENGTH);
-                }
             }
         }
         String endStream = readString();



Mime
View raw message