diff options
Diffstat (limited to 'pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java')
-rw-r--r-- | pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java index 12395bde..7349dbec 100644 --- a/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java +++ b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/SignParameterWrapper.java @@ -106,10 +106,10 @@ public class SignParameterWrapper { public void syncNewToOld(SignResult result) throws PdfAsException { try { - OutputStream os = this.signParameters.getOutput() - .createOutputStream("application/pdf"); - IOUtils.copy(result.getOutputDocument(), os); - os.close(); + //OutputStream os = this.signParameters.getOutput() + // .createOutputStream("application/pdf"); + //IOUtils.copy(result.getOutputDocument(), os); + //os.close(); } catch (Exception e) { throw new PdfAsException(ErrorCode.SIGNATURE_COULDNT_BE_CREATED, e.getMessage()); |