summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 11:20:47 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-08 11:20:47 +0200
commite1705520d0db135b155c409dfb07703b6819d802 (patch)
treeb0596ca3d9488bbc11bea6193a157734ebecf6c4
parentc9f6b0b97887eb12a0fd70aa91d91702efbac74e (diff)
downloadpdf-over-e1705520d0db135b155c409dfb07703b6819d802.tar.gz
pdf-over-e1705520d0db135b155c409dfb07703b6819d802.tar.bz2
pdf-over-e1705520d0db135b155c409dfb07703b6819d802.zip
typo fix #2
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java1
-rw-r--r--pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java3
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)