diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-02 14:29:11 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-02 14:29:11 +0200 |
commit | 135c54f61da53a5f6342d9a4fc947b3d64498625 (patch) | |
tree | 08d4d52d93693d443d2e4ac85f3cb6383c40698b /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration | |
parent | 9db67a0963f01d5c893d76c8e746272a53703d91 (diff) | |
download | pdf-over-135c54f61da53a5f6342d9a4fc947b3d64498625.tar.gz pdf-over-135c54f61da53a5f6342d9a4fc947b3d64498625.tar.bz2 pdf-over-135c54f61da53a5f6342d9a4fc947b3d64498625.zip |
YAGNI: SignatureParameter abstract class
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index b00dc00a..c3392a46 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -67,9 +67,7 @@ import at.asit.pdfover.gui.workflow.config.ConfigurationManager; import at.asit.pdfover.gui.workflow.config.ConfigurationDataInMemory; import at.asit.pdfover.gui.workflow.states.State; import at.asit.pdfover.signator.CachedFileNameEmblem; -import at.asit.pdfover.signator.SignatureParameter; import at.asit.pdfover.signer.pdfas.PdfAs4SignatureParameter; -import at.asit.pdfover.signer.pdfas.PdfAs4Signer; /** * @@ -442,7 +440,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { ImageData logo = null; try { - SignatureParameter param = new PdfAs4SignatureParameter(); + PdfAs4SignatureParameter param = new PdfAs4SignatureParameter(); if(this.configurationContainer.signatureNote != null && !this.configurationContainer.signatureNote.isEmpty()) { param.setProperty("SIG_NOTE", this.configurationContainer.signatureNote); } @@ -556,7 +554,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { void setSignatureProfileSetting(){ try { - SignatureParameter param = new PdfAs4SignatureParameter(); + PdfAs4SignatureParameter param = new PdfAs4SignatureParameter(); param.setSignatureProfile(this.configurationContainer.getSignatureProfile().name()); } catch (Exception e){ |