From 859e88bb68f0460b126c4f4f7ef1c1c1273d982c Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Wed, 11 Aug 2021 13:47:32 +0200 Subject: mobile phone number verification removed --- .../pdfover/gui/composites/MobileBKUEnterNumberComposite.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'pdf-over-gui/src/main') 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 -- cgit v1.2.3