You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2019/09/17 17:58:07 UTC
svn commit: r1867073 -
/pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java
Author: lehmi
Date: Tue Sep 17 17:58:07 2019
New Revision: 1867073
URL: http://svn.apache.org/viewvc?rev=1867073&view=rev
Log:
PDFBOX-4569: removed unneeded contructors
Modified:
pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java
Modified: pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java?rev=1867073&r1=1867072&r2=1867073&view=diff
==============================================================================
--- pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java (original)
+++ pdfbox/branches/issue4569/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightDocument.java Tue Sep 17 17:58:07 2019
@@ -21,7 +21,6 @@
package org.apache.pdfbox.preflight;
-import java.io.IOException;
import java.util.Collection;
import org.apache.pdfbox.cos.COSDocument;
@@ -42,17 +41,6 @@ public class PreflightDocument extends P
private final Format specification;
/**
- * Create an empty preflight document and load the default configuration for the given format.
- *
- * @param format
- * @throws IOException
- */
- public PreflightDocument(Format format) throws IOException
- {
- this(format, null);
- }
-
- /**
* Create a preflight document based on the COSDocument and load the default configuration for the given format.
*
* @param doc
@@ -64,19 +52,6 @@ public class PreflightDocument extends P
}
/**
- * Create an empty preflight document that will use the given configuration bean to process the validation. if the
- * configuration is null, a default configuration will be load using the given format.
- *
- * @param format
- * @param cfg
- * @throws IOException
- */
- public PreflightDocument(Format format, PreflightConfiguration cfg) throws IOException
- {
- this(new COSDocument(), format, cfg);
- }
-
- /**
* Create a preflight document based on the COSDocument that will use the given configuration bean to process the
* validation. if the configuration is null, a default configuration will be load using the given format.
*