summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-12 16:19:52 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-12 16:19:52 +0100
commit1ccaee68474946e2509854a62b6d7e380bca6e7c (patch)
treec6ef907764646f5b53068821b1b0774e29de27f6 /pdf-over-gui
parent400529060ae22fb9741ff7eb1c0ce81807b2d5f5 (diff)
downloadpdf-over-1ccaee68474946e2509854a62b6d7e380bca6e7c.tar.gz
pdf-over-1ccaee68474946e2509854a62b6d7e380bca6e7c.tar.bz2
pdf-over-1ccaee68474946e2509854a62b6d7e380bca6e7c.zip
Fixed Naming in Signature Profile Names
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java18
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java2
2 files changed, 10 insertions, 10 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
index cbfd8e24..d6f83973 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
@@ -60,9 +60,9 @@ public class Constants {
public static final Locale[] SUPPORTED_LOCALES = { Locale.GERMAN, Locale.ENGLISH };
public static enum PROFILE {
- SIGNATUREBLOCK_NORMAL("Signaturblock Normal") , //$NON-NLS-1$
- SIGNATUREBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
- AMTSSIGNATUREBLOCK("Amtssignatur"), //$NON-NLS-1$
+ SIGNATURBLOCK("Signaturblock Normal") , //$NON-NLS-1$
+ SIGNATURBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
+ AMTSSIGNATURBLOCK("Amtssignatur"), //$NON-NLS-1$
LOGO_ONLY("Nur Bildmarke"), //$NON-NLS-1$
INVISIBLE("Unsichtbar");
@@ -96,12 +96,12 @@ public class Constants {
}
public static PROFILE getProfile(String profile) {
- if (SIGNATUREBLOCK_NORMAL.getName().equals(profile)) {
- return SIGNATUREBLOCK_NORMAL;
- } else if (SIGNATUREBLOCK_SMALL.getName().equals(profile)) {
- return SIGNATUREBLOCK_SMALL;
- } else if (AMTSSIGNATUREBLOCK.getName().equals(profile)) {
- return AMTSSIGNATUREBLOCK;
+ if (SIGNATURBLOCK.getName().equals(profile)) {
+ return SIGNATURBLOCK;
+ } else if (SIGNATURBLOCK_SMALL.getName().equals(profile)) {
+ return SIGNATURBLOCK_SMALL;
+ } else if (AMTSSIGNATURBLOCK.getName().equals(profile)) {
+ return AMTSSIGNATURBLOCK;
} else if (LOGO_ONLY.getName().equals(profile)) {
return LOGO_ONLY;
} else if (INVISIBLE.getName().equals(profile)){
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
index 32b5ece3..300e2df1 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
@@ -731,7 +731,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer {
@Override
public PROFILE getSignatureProfile() {
if (this.signatureProfile == null) {
- this.signatureProfile = PROFILE.SIGNATUREBLOCK_NORMAL;
+ this.signatureProfile = PROFILE.SIGNATURBLOCK;
}
return this.signatureProfile;
}