| commit | 5e498c53d9adc2eee2907c1a86d91ebddc0adaa3 | [log] [tgz] |
|---|---|---|
| author | Andreas Lehmkuhler <lehmi@apache.org> | Wed Nov 19 13:40:04 2014 +0000 |
| committer | Andreas Lehmkuhler <lehmi@apache.org> | Wed Nov 19 13:40:04 2014 +0000 |
| tree | 603c34b5a539664da8183b2a6ce68fcda1e9c091 | |
| parent | a45733c632345ed4827bcee39dec24115b4f1d92 [diff] |
PDFBOX-2430: switch to use the non-sequential parser git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1640547 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/preflight/src/test/java/org/apache/pdfbox/preflight/action/pdfa1b/AbstractTestAction.java b/preflight/src/test/java/org/apache/pdfbox/preflight/action/pdfa1b/AbstractTestAction.java index d5dff92..63411e2 100644 --- a/preflight/src/test/java/org/apache/pdfbox/preflight/action/pdfa1b/AbstractTestAction.java +++ b/preflight/src/test/java/org/apache/pdfbox/preflight/action/pdfa1b/AbstractTestAction.java
@@ -49,7 +49,7 @@ protected PreflightContext createContext() throws Exception { DataSource ds = new FileDataSource("src/test/resources/pdfa-with-annotations-square.pdf"); - PDDocument doc = PDDocument.load(ds.getInputStream()); + PDDocument doc = PDDocument.loadNonSeq(ds.getInputStream()); PreflightDocument preflightDocument = new PreflightDocument(doc.getDocument(), Format.PDF_A1B); PreflightContext ctx = new PreflightContext(ds); ctx.setDocument(preflightDocument);