pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leleu...@apache.org
Subject svn commit: r1467798 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
Date Sun, 14 Apr 2013 16:10:12 GMT
Author: leleueri
Date: Sun Apr 14 16:10:11 2013
New Revision: 1467798

URL: http://svn.apache.org/r1467798
Log:
[PDFBOX-1557] remove useless code due the release 1.8.1

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java?rev=1467798&r1=1467797&r2=1467798&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
Sun Apr 14 16:10:11 2013
@@ -249,17 +249,8 @@ public class PreflightParser extends Non
         // fill xref table
         document.addXRefTable(xrefTrailerResolver.getXrefTable());
 
-        // Trailer entries are useful in the preflight document
-        for (COSBase trailerEntry : getDocument().getTrailer().getValues())
-        {
-            if (trailerEntry instanceof COSObject)
-            {
-                COSObject tmpObj = (COSObject) trailerEntry;
-                parseObjectDynamically(tmpObj, true);
-            }
-        }
-
         // For each ObjectKey, we check if the object has been loaded
+        // useful for linearized PDFs
         Map<COSObjectKey, Long> xrefTable = document.getXrefTable();
         for (Entry<COSObjectKey, Long> entry : xrefTable.entrySet())
         {



Mime
View raw message