summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-14 11:08:55 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-07-14 11:08:55 +0200
commit80be9e308410b22c4b3eb0beb4b933e6c208f928 (patch)
tree28d2affcc77515539ee6e57ff135ae5577386365
parente9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977 (diff)
downloadpdf-over-80be9e308410b22c4b3eb0beb4b933e6c208f928.tar.gz
pdf-over-80be9e308410b22c4b3eb0beb4b933e6c208f928.tar.bz2
pdf-over-80be9e308410b22c4b3eb0beb4b933e6c208f928.zip
random cleanup
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java10
1 files changed, 3 insertions, 7 deletions
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);