summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-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);