summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-06-18 10:39:40 +0200
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-06-18 10:39:40 +0200
commit66bbd959a369ea4ecec207f246b6025681298364 (patch)
treeaed6e10b7843e47b77e045307d3bc55485b165bc
parent0e2e35cc4e59e325b5406015573fc2eb46c94756 (diff)
downloadpdf-over-66bbd959a369ea4ecec207f246b6025681298364.tar.gz
pdf-over-66bbd959a369ea4ecec207f246b6025681298364.tar.bz2
pdf-over-66bbd959a369ea4ecec207f246b6025681298364.zip
remove all white spaces
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java2
1 files changed, 1 insertions, 1 deletions
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 5f2287ea..c173337f 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,7 +209,7 @@ public class MobileBKUHelper {
throws InvalidNumberException {
// Verify number and normalize
- number = number.trim();
+ number = number.replaceAll("\\s","");
// Compile and use regular expression
Pattern pattern = Pattern.compile(NUMBER_REGEX);
Matcher matcher = pattern.matcher(number);