From 155dae9fe0b523bdeb91db0ecd8b5dee2b973ff8 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 2 Aug 2022 15:55:33 +0200 Subject: typos --- .../asit/pdfover/gui/composites/BKUSelectionComposite.java | 3 ++- .../configuration/SimpleConfigurationComposite.java | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java index f7253486..0f9fa724 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java @@ -100,7 +100,8 @@ public class BKUSelectionComposite extends StateComposite { /** * SLF4J Logger instance **/ - static final Logger log = LoggerFactory.getLogger(BKUSelectionComposite.class); + static final Logger log = LoggerFactory + .getLogger(BKUSelectionComposite.class); private BKUs selected = BKUs.NONE; 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 f44367a2..e821d78f 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 @@ -171,7 +171,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { int index = SimpleConfigurationComposite.this.cmbSignatureProfiles.getSelectionIndex(); Profile selected = Profile.values()[index]; if (!current.equals(selected)) { - preformProfileSelectionChanged(selected); + performProfileSelectionChanged(selected); } } }); @@ -430,11 +430,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { } this.configurationContainer.setEmblem(filename); - this.setVisibleImage(); + this.updateSignatureBlockPreview(); this.doLayout(); } - void setVisibleImage() { + void updateSignatureBlockPreview() { String image = this.configurationContainer.getEmblem(); ImageData img = null; ImageData logo = null; @@ -530,7 +530,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { - void preformProfileSelectionChanged(Profile newProfile) { + void performProfileSelectionChanged(Profile newProfile) { log.debug("Signature Profile {} was selected", newProfile.name()); Profile oldProfile = this.configurationContainer.getSignatureProfile(); this.configurationContainer.setSignatureProfile(newProfile); @@ -625,11 +625,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { this.txtSignatureNote.setText(note); } - this.setVisibleImage(); + this.updateSignatureBlockPreview(); this.performSignatureLangSelectionChanged(this.configurationContainer.signatureLocale, null); - this.preformProfileSelectionChanged(this.configurationContainer.getSignatureProfile()); + this.performProfileSelectionChanged(this.configurationContainer.getSignatureProfile()); } -- cgit v1.2.3