pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leleu...@apache.org
Subject svn commit: r1370006 - in /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight: ValidationResult.java exception/BodyParseException.java font/DescendantFontValidator.java
Date Mon, 06 Aug 2012 20:48:30 GMT
Author: leleueri
Date: Mon Aug  6 20:48:30 2012
New Revision: 1370006

URL: http://svn.apache.org/viewvc?rev=1370006&view=rev
Log:
Reorganize Import

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/ValidationResult.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/exception/BodyParseException.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/DescendantFontValidator.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/ValidationResult.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/ValidationResult.java?rev=1370006&r1=1370005&r2=1370006&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/ValidationResult.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/ValidationResult.java
Mon Aug  6 20:48:30 2012
@@ -25,8 +25,6 @@ import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.padaf.xmpbox.XMPMetadata;
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.apache.pdfbox.preflight.utils.COSUtils;
 
 /**
  * Object returned by the validate method of the PDFValidator. This object

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/exception/BodyParseException.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/exception/BodyParseException.java?rev=1370006&r1=1370005&r2=1370006&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/exception/BodyParseException.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/exception/BodyParseException.java
Mon Aug  6 20:48:30 2012
@@ -21,7 +21,7 @@
 
 package org.apache.pdfbox.preflight.exception;
 
-import org.apache.padaf.preflight.ValidationConstants;
+import org.apache.pdfbox.preflight.PreflightConstants;
 import org.apache.pdfbox.preflight.javacc.PDFParserConstants;
 import org.apache.pdfbox.preflight.javacc.ParseException;
 /**
@@ -77,7 +77,7 @@ public class BodyParseException extends 
     }
 
     // default error code
-    this.errorCode = ValidationConstants.ERROR_SYNTAX_BODY;
+    this.errorCode = PreflightConstants.ERROR_SYNTAX_BODY;
 
     if (!isTokenMgrError) {
       // it is a parse error, according to the ExpectedTokens data
@@ -91,7 +91,7 @@ public class BodyParseException extends 
           switch (this.expectedTokenSequences[i][0]) {
           case PDFParserConstants.START_OBJECT:
           case PDFParserConstants.END_OBJECT:
-            this.errorCode = ValidationConstants.ERROR_SYNTAX_OBJ_DELIMITER;
+            this.errorCode = PreflightConstants.ERROR_SYNTAX_OBJ_DELIMITER;
             break;
           }
         }

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/DescendantFontValidator.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/DescendantFontValidator.java?rev=1370006&r1=1370005&r2=1370006&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/DescendantFontValidator.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/DescendantFontValidator.java
Mon Aug  6 20:48:30 2012
@@ -21,8 +21,10 @@
 
 package org.apache.pdfbox.preflight.font;
 
-import static org.apache.pdfbox.preflight.PreflightConstants.*;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_FONTS_CIDKEYED_CIDTOGID;
+import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_FONTS_CIDKEYED_SYSINFO;
 import static org.apache.pdfbox.preflight.PreflightConstants.ERROR_FONTS_DICTIONARY_INVALID;
+import static org.apache.pdfbox.preflight.PreflightConstants.FONT_DICTIONARY_VALUE_CMAP_IDENTITY;
 
 import java.io.IOException;
 



Mime
View raw message