From bc13db63852cda94e1f6454138d69ccd803c9b7e Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 2 Aug 2022 15:36:18 +0200 Subject: remove some dead code --- .../configuration/SimpleConfigurationComposite.java | 12 ------------ 1 file changed, 12 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 a737bdfe..f44367a2 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 @@ -539,7 +539,6 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { if (newProfile.equals(Profile.AMTSSIGNATURBLOCK) || newProfile.equals(Profile.INVISIBLE)){ this.configurationContainer.autoPositionSignature = true; } - setSignatureProfileSetting(); if (txtSignatureNote.getText().equals(getDefaultSignatureBlockNoteTextFor(oldProfile, null))) txtSignatureNote.setText(getDefaultSignatureBlockNoteTextFor(newProfile, null)); } @@ -552,17 +551,6 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { return profile.getDefaultSignatureBlockNote(locale); } - void setSignatureProfileSetting(){ - try { - // TODO this doesn't do anything...? - PdfAs4SignatureParameter param = new PdfAs4SignatureParameter(); - param.signatureProfileName = this.configurationContainer.getSignatureProfile().name(); - - } catch (Exception e){ - log.warn("Cannot save signature profile {}", e.getMessage()); - } - } - private void plainMobileNumberSetter() { String number = this.txtMobileNumber.getText(); this.configurationContainer.setMobileNumber(number); -- cgit v1.2.3