From 464e7b1df6a0ff5d1450e5ff0f67101640edbc5e Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 2 Aug 2022 15:05:00 +0200 Subject: YAGNI: SignResult interface --- .../src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pdf-over-signer') diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java index 5993a3a9..8a31f101 100644 --- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java +++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java @@ -8,7 +8,6 @@ import javax.activation.DataSource; import at.asit.pdfover.commons.Profile; import at.asit.pdfover.signator.ByteArrayDocumentSource; import at.asit.pdfover.signator.SignResult; -import at.asit.pdfover.signator.SignResultImpl; import at.asit.pdfover.signator.SignatureException; import at.asit.pdfover.signator.SignaturePosition; import at.gv.egiz.pdfas.common.exceptions.PDFASError; @@ -114,7 +113,7 @@ public class PdfAs4Signer { pdfas.sign(param); - SignResultImpl result = new SignResultImpl(); + SignResult result = new SignResult(); if (param.getSignaturePosition() != null) { TablePos tp = new TablePos(param.getSignaturePosition()); -- cgit v1.2.3