pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1549027 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Date Sun, 08 Dec 2013 13:05:07 GMT
Author: lehmi
Date: Sun Dec  8 13:05:07 2013
New Revision: 1549027

URL: http://svn.apache.org/r1549027
Log:
PDFBOX-1769: skip spaces

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java?rev=1549027&r1=1549026&r2=1549027&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Sun Dec  8 13:05:07 2013
@@ -1580,6 +1580,7 @@ public class NonSequentialPDFParser exte
     	else
     	{
 			pdfSource.seek(expectedEndOfStream);
+			skipSpaces();
 	    	if (!checkBytesAtOffset("endstream".getBytes("ISO-8859-1")))
 	    	{
 	    		streamLengthIsValid = false;



Mime
View raw message