From 80be9e308410b22c4b3eb0beb4b933e6c208f928 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 14 Jul 2022 11:08:55 +0200 Subject: random cleanup --- .../pdfover/gui/composites/MobileBKUEnterNumberComposite.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'pdf-over-gui/src/main/java/at') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java index 077099ff..7edcd359 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java @@ -53,22 +53,18 @@ public class MobileBKUEnterNumberComposite extends StateComposite { private final SelectionListener okListener = new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { - if(!MobileBKUEnterNumberComposite.this.btn_ok.isEnabled()) { + if (!MobileBKUEnterNumberComposite.this.btn_ok.isEnabled()) { return; } try { - String number = MobileBKUEnterNumberComposite.this.txt_number - .getText(); + String number = MobileBKUEnterNumberComposite.this.txt_number.getText(); number = number.replaceAll("\\s",""); MobileBKUEnterNumberComposite.this.setMobileNumber(number); - MobileBKUEnterNumberComposite.this.mobileNumber = number; - - String password = MobileBKUEnterNumberComposite.this.txt_password - .getText(); + String password = MobileBKUEnterNumberComposite.this.txt_password.getText(); MobileBKUHelper.validatePassword(password); -- cgit v1.2.3