From bbefc4a50e6fd189032dc4a1298ada24e7cc5595 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 30 Sep 2022 12:03:23 +0200 Subject: cleanup --- .../at/asit/pdfover/gui/bku/mobile/ATrustHandler.java | 15 --------------- .../gui/composites/MobileBKUFingerprintComposite.java | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) (limited to 'pdf-over-gui/src/main/java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java index 5e4975e3..5d96d49e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java @@ -508,21 +508,6 @@ public class ATrustHandler extends MobileBKUHandler { return executeGet(client, get); } - /** - * @param responseData - * @return a boolean - */ - public Boolean handleWaitforAppResponse(String responseData) { - - getStatus().errorMessage = null; - if (!responseData.toLowerCase().contains("Bitte starten Sie Ihre Handy-Signatur App!".toLowerCase())/* || - responseData.toLowerCase().contains("TAN (Handy-Signatur App)".toLowerCase())*/) { - - return true; - } - return false; - } - /** * Parse QR code response * @param responseData diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java index 44ff4077..af630b8d 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java @@ -191,9 +191,9 @@ public class MobileBKUFingerprintComposite extends StateComposite { * the reference value to set */ public void setRefVal(String refVal) { - this.refVal = refVal.trim(); if (this.refVal != null) { + this.refVal = refVal.trim(); this.lblRefVal.setText(this.refVal); } else { this.lblRefVal.setText(""); -- cgit v1.2.3