pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1654469 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightConfiguration.java
Date Sat, 24 Jan 2015 06:12:40 GMT
Author: tilman
Date: Sat Jan 24 06:12:39 2015
New Revision: 1654469

URL: http://svn.apache.org/r1654469
Log:
PDFBOX-2576: set fields final

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=1654469&r1=1654468&r2=1654469&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
Sat Jan 24 06:12:39 2015
@@ -92,9 +92,9 @@ public class PreflightConfiguration
      */
     private boolean lazyValidation = false;
 
-    private Map<String, Class<? extends ValidationProcess>> processes = new LinkedHashMap<String,
Class<? extends ValidationProcess>>();
+    private final 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 LinkedHashMap<String, Class<? extends ValidationProcess>>();
+    private final Map<String, Class<? extends ValidationProcess>> innerProcesses
= new LinkedHashMap<String, Class<? extends ValidationProcess>>();
 
     /**
      * Define the AnnotationFactory used by ValidationProcess



Mime
View raw message