pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1613242 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java
Date Thu, 24 Jul 2014 18:34:32 GMT
Author: tilman
Date: Thu Jul 24 18:34:32 2014
New Revision: 1613242

URL: http://svn.apache.org/r1613242
Log:
PDFBOX-2234: replace HashMap with LinkedHashMap to have more determinism

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

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java?rev=1613242&r1=1613241&r2=1613242&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java
Thu Jul 24 18:34:32 2014
@@ -22,7 +22,7 @@
 package org.apache.pdfbox.preflight;
 
 import java.util.Collection;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 import org.apache.pdfbox.preflight.action.ActionManagerFactory;
@@ -92,9 +92,9 @@ public class PreflightConfiguration
      */
     private boolean lazyValidation = false;
 
-    private Map<String, Class<? extends ValidationProcess>> processes = new HashMap<String,
Class<? extends ValidationProcess>>();
+    private Map<String, Class<? extends ValidationProcess>> processes = new LinkedHashMap<String,
Class<? extends ValidationProcess>>();
     // TODO use annotation to mark these validation processes as inner page validation and
factorize the access method
-    private Map<String, Class<? extends ValidationProcess>> innerProcesses =
new HashMap<String, Class<? extends ValidationProcess>>();
+    private Map<String, Class<? extends ValidationProcess>> innerProcesses =
new LinkedHashMap<String, Class<? extends ValidationProcess>>();
 
     /**
      * Define the AnnotationFactory used by ValidationProcess



Mime
View raw message