Skip to content
Permalink
Browse files

PT-3939: Include whitespace separator in parsing multiple emails in C…

…ontactInfo

Added a blank space to possible separators
  • Loading branch information...
veronikaslc committed Feb 5, 2019
1 parent 8f1cfc2 commit e4de69496fa472f6b8858b72621ded55640a7c28
@@ -225,7 +225,7 @@ private void setEmails(List<String> emails)
{
List<String> collectedEmails = new ArrayList<String>();
for (String email : emails) {
for (String parsedEmail : StringUtils.split(email, ",|;")) {
for (String parsedEmail : StringUtils.split(email, ",; ")) {
collectedEmails.add(parsedEmail.trim());
}
}

0 comments on commit e4de694

Please sign in to comment.
You can’t perform that action at this time.