summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-08-11 13:47:32 +0200
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-08-11 13:47:32 +0200
commit859e88bb68f0460b126c4f4f7ef1c1c1273d982c (patch)
treeab6267e7709566de17b7679f9d836b4210840503 /pdf-over-gui/src/main/java/at
parent767c9948116bf49d752a4c671fce57fa94b9c714 (diff)
downloadpdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.tar.gz
pdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.tar.bz2
pdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.zip
mobile phone number verification removed
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.java8
1 files changed, 1 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 f10ea855..250cc238 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
@@ -66,8 +66,7 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
String number = MobileBKUEnterNumberComposite.this.txt_number
.getText();
-
- number = MobileBKUHelper.normalizeMobileNumber(number);
+ number = number.replaceAll("\\s","");
MobileBKUEnterNumberComposite.this.setMobileNumber(number);
@@ -83,11 +82,6 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
MobileBKUEnterNumberComposite.this.btn_ok.setEnabled(false);
- } catch(InvalidNumberException ex) {
- log.error("Validating input for Mobile BKU failed!", ex); //$NON-NLS-1$
- MobileBKUEnterNumberComposite.this
- .setErrorMessage(Messages.getString("error.InvalidPhoneNumber")); //$NON-NLS-1$
- MobileBKUEnterNumberComposite.this.txt_number.setFocus();
} catch(InvalidPasswordException ex) {
log.error("Validating input for Mobile BKU failed!", ex); //$NON-NLS-1$
MobileBKUEnterNumberComposite.this