summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-07 15:22:24 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-07 15:22:24 +0200
commite568e0adf216569b5a0baed85d2d5e09b5d5d7f8 (patch)
treeb6f1f414c3ae02ebbb4112e57a7fc68d2efdbe3e /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
parent0f63732ed31a3b5189e46f8b49c32a79ef2b6534 (diff)
downloadpdf-over-e568e0adf216569b5a0baed85d2d5e09b5d5d7f8.tar.gz
pdf-over-e568e0adf216569b5a0baed85d2d5e09b5d5d7f8.tar.bz2
pdf-over-e568e0adf216569b5a0baed85d2d5e09b5d5d7f8.zip
deprecation cleanup
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationDataInMemory.java5
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java1
2 files changed, 2 insertions, 4 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationDataInMemory.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationDataInMemory.java
index c59da748..382cc744 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationDataInMemory.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationDataInMemory.java
@@ -182,9 +182,8 @@ public class ConfigurationDataInMemory {
/** The Signature Profile */
protected Profile signatureProfile = null;
public Profile getSignatureProfile() {
- if (this.signatureProfile == null) {
- this.signatureProfile = Profile.SIGNATURBLOCK_SMALL;
- }
+ if (this.signatureProfile == null)
+ return Profile.SIGNATURBLOCK_SMALL;
return this.signatureProfile;
}
public void setSignatureProfile(Profile profile) { this.signatureProfile = profile; }
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
index 7823ca41..414f89de 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java
@@ -406,7 +406,6 @@ public class ConfigurationManager {
log.info("Configuration file saved to " + configFile.getAbsolutePath());
}
- // TODO review this
public void setConfigurationFileName(String configurationFile)
{
if (this.configurationFile.equals(configurationFile))