From e6450f35edb106a9898d454e2d90ded3bef1a786 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 19 Nov 2015 08:48:16 +0100 Subject: close Template Creator --- .../at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-pdfbox/src/main/java/at/gv') diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java index 0ceb6139..911e4117 100644 --- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java +++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java @@ -162,7 +162,7 @@ public class PDFAsTemplateCreator extends PDFTemplateCreator { logger.debug("stream returning started, size= " + in.available()); // we must close the document - template.close(); + this.pdfBuilder.closeTemplate(template); // return result of the stream return in; -- cgit v1.2.3