pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1684952 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
Date Thu, 11 Jun 2015 17:36:00 GMT
Author: tilman
Date: Thu Jun 11 17:36:00 2015
New Revision: 1684952

URL: http://svn.apache.org/r1684952
Log:
PDFBOX-2576: make fields that have accessors private

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

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java?rev=1684952&r1=1684951&r2=1684952&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
Thu Jun 11 17:36:00 2015
@@ -41,17 +41,17 @@ public class PreflightContext implements
     /**
      * Contains the list of font name embedded in the PDF document.
      */
-    protected Map<COSBase, FontContainer> fontContainers = new HashMap<COSBase,
FontContainer>();
+    private final Map<COSBase, FontContainer> fontContainers = new HashMap<COSBase,
FontContainer>();
 
     /**
      * The PDFbox object representation of the PDF source.
      */
-    protected PreflightDocument document = null;
+    private PreflightDocument document = null;
 
     /**
      * The datasource to load the document from
      */
-    protected DataSource source = null;
+    private DataSource source = null;
 
     /**
      * Contains all Xref/trailer objects and resolves them into single object using startxref
reference.
@@ -61,23 +61,23 @@ public class PreflightContext implements
     /**
      * This wrapper contains the ICCProfile used by the PDF file.
      */
-    protected ICCProfileWrapper iccProfileWrapper = null;
+    private ICCProfileWrapper iccProfileWrapper = null;
 
     /**
      * 
      */
-    protected boolean iccProfileAlreadySearched = false;
+    private boolean iccProfileAlreadySearched = false;
 
     /**
      * MetaData of the current pdf file.
      */
-    protected XMPMetadata metadata = null;
+    private XMPMetadata metadata = null;
 
-    protected PreflightConfiguration config = null;
+    private PreflightConfiguration config = null;
 
-    protected PreflightPath validationPath = new PreflightPath();
+    private PreflightPath validationPath = new PreflightPath();
 
-    protected Integer currentPageNumber = null;
+    private Integer currentPageNumber = null;
     
     /**
      * Create the DocumentHandler using the DataSource which represent the PDF file to check.



Mime
View raw message