From 3a419fea87c3ccebd5d437a151d1dd66df82c5bf Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 8 Jul 2022 14:23:39 +0200 Subject: remove dead code referencing a permanently-saved mobile password --- .../pdfover/gui/workflow/config/ConfigurationManager.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'pdf-over-gui/src/main') 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) { -- cgit v1.2.3