From d67536e610933dce65d05fb4fb5dc5eeb032f803 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Fri, 18 Jun 2021 10:07:45 +0200 Subject: trim phone number whitespaces --- .../src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java index 9971e3c2..5f2287ea 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java @@ -209,6 +209,7 @@ public class MobileBKUHelper { throws InvalidNumberException { // Verify number and normalize + number = number.trim(); // Compile and use regular expression Pattern pattern = Pattern.compile(NUMBER_REGEX); Matcher matcher = pattern.matcher(number); -- cgit v1.2.3