From 0852b37cb2e048b7e561651230fe065c13b94a27 Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Mon, 26 Jun 2023 12:57:19 -0700 Subject: [PATCH] fix: fixing replace --- .../main/java/ca/bc/gov/app/service/client/ClientService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/ca/bc/gov/app/service/client/ClientService.java b/backend/src/main/java/ca/bc/gov/app/service/client/ClientService.java index 1dff59bf89..5bcd6409e0 100644 --- a/backend/src/main/java/ca/bc/gov/app/service/client/ClientService.java +++ b/backend/src/main/java/ca/bc/gov/app/service/client/ClientService.java @@ -202,7 +202,7 @@ private Mono 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") )