Skip to content

Commit

Permalink
fix: fixing replace
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Jun 26, 2023
1 parent 618813d commit 0852b37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private Mono<ClientDetailsDto> buildAddress(
new ClientValueTextDto("", addressDto.addressCountry()),
new ClientValueTextDto(addressDto.addressRegion(), ""),
addressDto.addressCity(),
addressDto.postalCode().trim().replaceceAll("\\s+", "")
addressDto.postalCode().trim().replaceAll("\\s+", ""),
index.getAndIncrement(),
WordUtils.capitalize(addressDto.addressType()).concat(" Address")
)
Expand Down

0 comments on commit 0852b37

Please sign in to comment.