diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-14 11:08:55 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-14 11:08:55 +0200 |
commit | 80be9e308410b22c4b3eb0beb4b933e6c208f928 (patch) | |
tree | 28d2affcc77515539ee6e57ff135ae5577386365 | |
parent | e9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977 (diff) | |
download | pdf-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.java | 10 |
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);
|