aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-26 16:05:40 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-26 16:05:40 +0200
commit04df577b18d51093df377c9dc602381ff9426e91 (patch)
tree92504e96527e223e31c95420e34d1a8746d5da64 /pdf-as-lib
parent2ec24a6433b77cf421e602450dafff2b371b8afc (diff)
downloadpdf-as-4-04df577b18d51093df377c9dc602381ff9426e91.tar.gz
pdf-as-4-04df577b18d51093df377c9dc602381ff9426e91.tar.bz2
pdf-as-4-04df577b18d51093df377c9dc602381ff9426e91.zip
Removed output for unnecessary warning
Diffstat (limited to 'pdf-as-lib')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/status/PDFObject.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/status/PDFObject.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/status/PDFObject.java
index 6aff5495..628c87a1 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/status/PDFObject.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/status/PDFObject.java
@@ -70,6 +70,9 @@ public class PDFObject {
doc.close();
}
this.doc = PDDocument.load(new ByteArrayInputStream(this.originalDocument));
+ if(this.doc != null) {
+ this.doc.getDocument().setWarnMissingClose(false);
+ }
}
public PDDocument getDocument() {