Permalink
Browse files

fix NPE in normalizePhoneNumber

  • Loading branch information...
ylimit committed Apr 11, 2018
1 parent 8a9d590 commit 7c2959741c9bc70d1c0b61e37d5a3cdf205b9fdc
@@ -6,6 +6,7 @@
public class CommunicationUtils {
public static String normalizePhoneNumber(String phoneNumber) {
if (phoneNumber == null) return null;
return phoneNumber.replaceAll("[^a-zA-Z0-9]", "");
}
}

0 comments on commit 7c29597

Please sign in to comment.