Skip to content

Commit

Permalink
Revert "OBPIH-5972 trim white space from firstname and last name when…
Browse files Browse the repository at this point in the history
… binding user to recipient on PO items import (#4384)" (#4412)

This reverts commit 6b6869e.
  • Loading branch information
awalkowiak committed Dec 12, 2023
1 parent dee264e commit 1046406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PersonService {
}

String[] extractNames(String combinedNames) {
String[] names = combinedNames.split(" ", 2)*.trim()
String[] names = combinedNames.split(" ", 2)
if (names.length <= 1) {
throw new RuntimeException("Recipient ${combinedNames} must have at least two names (i.e. first name and last name)")
}
Expand Down

0 comments on commit 1046406

Please sign in to comment.