pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1615956 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
Date Tue, 05 Aug 2014 16:54:54 GMT
Author: lehmi
Date: Tue Aug  5 16:54:53 2014
New Revision: 1615956

URL: http://svn.apache.org/r1615956
Log:
PDFBOX-2250: removed false warn message, 0 as count value is allowed

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java?rev=1615956&r1=1615955&r2=1615956&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java Tue
Aug  5 16:54:53 2014
@@ -752,10 +752,6 @@ public class PDFParser extends BaseParse
         {
             long currObjID = readObjectNumber(); // first obj id
             long count = readLong(); // the number of objects in the xref table
-            if (count == 0)
-            {
-                LOG.warn("Count in xref table is 0 at offset " + pdfSource.getOffset());
-            }
             skipSpaces();
             for(int i = 0; i < count; i++)
             {



Mime
View raw message