You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/07/05 18:15:33 UTC

svn commit: r1862630 - /pdfbox/branches/issue45/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java

Author: tilman
Date: Fri Jul  5 18:15:33 2019
New Revision: 1862630

URL: http://svn.apache.org/viewvc?rev=1862630&view=rev
Log:
PDFBOX-4071: SonarQube fix: avoid empty constructor without comment

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

Modified: pdfbox/branches/issue45/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java?rev=1862630&r1=1862629&r2=1862630&view=diff
==============================================================================
--- pdfbox/branches/issue45/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java (original)
+++ pdfbox/branches/issue45/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java Fri Jul  5 18:15:33 2019
@@ -71,7 +71,7 @@ public class PreflightContext implements
      */
     private XMPMetadata metadata = null;
 
-    private PreflightConfiguration config = null;
+    private PreflightConfiguration config;
 
     private PreflightPath validationPath = new PreflightPath();
 
@@ -83,11 +83,10 @@ public class PreflightContext implements
 
     /**
      * Create the DocumentHandler using the DataSource which represent the PDF file to check.
-     * 
-     * @param dataSource
      */
     public PreflightContext()
     {
+        this.config = null;
     }
 
     public PreflightContext(PreflightConfiguration configuration)