pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1725742 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java
Date Wed, 20 Jan 2016 15:32:26 GMT
Author: tilman
Date: Wed Jan 20 15:32:26 2016
New Revision: 1725742

URL: http://svn.apache.org/viewvc?rev=1725742&view=rev
Log:
PDFBOX-2852: clarify error msg

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

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java?rev=1725742&r1=1725741&r2=1725742&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java Wed
Jan 20 15:32:26 2016
@@ -1363,7 +1363,7 @@ public abstract class BaseParser
                     // we can end up in an infinite loop otherwise
                     throw new IOException( "Unknown dir object c='" + c +
                             "' cInt=" + (int)c + " peek='" + (char)peek
-                            + "' peekInt=" + peek + " " + pdfSource.getOffset() );
+                            + "' peekInt=" + peek + " at offset " + pdfSource.getOffset()
);
                 }
 
                 // if it's an endstream/endobj, we want to put it back so the caller will
see it



Mime
View raw message