summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-08 14:23:39 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-08 14:23:39 +0200
commit3a419fea87c3ccebd5d437a151d1dd66df82c5bf (patch)
tree46c88a08e9553a502b0f89a1bf6a8c7512bb0790 /pdf-over-gui/src
parente3dba1b10fbb8ed02f4b8c4b88883027509451d1 (diff)
downloadpdf-over-3a419fea87c3ccebd5d437a151d1dd66df82c5bf.tar.gz
pdf-over-3a419fea87c3ccebd5d437a151d1dd66df82c5bf.tar.bz2
pdf-over-3a419fea87c3ccebd5d437a151d1dd66df82c5bf.zip
remove dead code referencing a permanently-saved mobile password
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationManager.java13
1 files changed, 2 insertions, 11 deletions
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 340c125a..5afbe33d 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
@@ -480,17 +480,8 @@ public class ConfigurationManager {
}
public String getDefaultMobilePassword() {
- String password = this.configurationOverlay.mobilePassword;
- if (password == null)
- password = getDefaultMobilePasswordPersistent();
- return password;
- }
-
- public String getDefaultMobilePasswordPersistent() {
- String password = this.configuration.mobilePassword;
- if (password == null)
- password = STRING_EMPTY;
- return password;
+ /* this does not exist as a permanent config variable */
+ return this.configurationOverlay.mobilePassword;
}
public void setDefaultEmblem(String emblem) {