From e1705520d0db135b155c409dfb07703b6819d802 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Mon, 8 Aug 2022 11:20:47 +0200 Subject: typo fix #2 --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 1 + .../java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java | 3 +-- 2 files changed, 2 insertions(+), 2 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 73313152..ff14df90 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 @@ -358,6 +358,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { if (image != null && !image.trim().isEmpty()) { param.emblem = new Emblem(image); } + // TODO this is super slow, can we get rid of it? // SWT_AWT, same as PositioningComposite, maybe? // .... i hate this diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java index c4999014..e779c08d 100644 --- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java +++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java @@ -23,7 +23,6 @@ import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; -import java.util.HashMap; import java.util.Locale; import org.slf4j.Logger; @@ -187,7 +186,7 @@ public class PdfAs4SignatureParameter { break; } - if (this.signatureNote) + if (this.signatureNote != null) profileId += "_NOTE"; if (this.enablePDFACompat) -- cgit v1.2.3