summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:03:23 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:03:23 +0200
commitbbefc4a50e6fd189032dc4a1298ada24e7cc5595 (patch)
tree2e6646bd881ccc19e82506013d565aed5189f95c /pdf-over-gui/src/main
parent29059e0e1e69bc15eea215427df299378be931b5 (diff)
downloadpdf-over-bbefc4a50e6fd189032dc4a1298ada24e7cc5595.tar.gz
pdf-over-bbefc4a50e6fd189032dc4a1298ada24e7cc5595.tar.bz2
pdf-over-bbefc4a50e6fd189032dc4a1298ada24e7cc5595.zip
cleanup
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java15
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUFingerprintComposite.java2
2 files changed, 1 insertions, 16 deletions
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
@@ -509,21 +509,6 @@ public class ATrustHandler extends MobileBKUHandler {
}
/**
- * @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
* @return whether a SL response was received
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("");