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 2016/01/03 18:30:13 UTC

pdfbox-docs git commit: PDFBOX-3007: adjust example as proposed by Tilman Hausherr

Repository: pdfbox-docs
Updated Branches:
  refs/heads/master b9c9d85b9 -> 1d81320af


PDFBOX-3007: adjust example as proposed by Tilman Hausherr


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/1d81320a
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/1d81320a
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/1d81320a

Branch: refs/heads/master
Commit: 1d81320af6b673e79df1fe5321b3007faf6619d6
Parents: b9c9d85
Author: Andreas Lehmkühler <an...@lehmi.de>
Authored: Sun Jan 3 18:29:55 2016 +0100
Committer: Andreas Lehmkühler <an...@lehmi.de>
Committed: Sun Jan 3 18:29:55 2016 +0100

----------------------------------------------------------------------
 content/1.8/cookbook/pdfavalidation.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/1d81320a/content/1.8/cookbook/pdfavalidation.md
----------------------------------------------------------------------
diff --git a/content/1.8/cookbook/pdfavalidation.md b/content/1.8/cookbook/pdfavalidation.md
index 689fa53..7c6d4cb 100644
--- a/content/1.8/cookbook/pdfavalidation.md
+++ b/content/1.8/cookbook/pdfavalidation.md
@@ -30,8 +30,7 @@ This small sample shows how to check the compliance of a file with the PDF/A-1b
 ~~~java
 ValidationResult result = null;
 
-FileDataSource fd = new FileDataSource(args[0]);
-PreflightParser parser = new PreflightParser(fd);
+PreflightParser parser = new PreflightParser(args[0]);
 try
 {