Skip to content

Commit

Permalink
fix: Fixed code smell issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia committed Nov 21, 2023
1 parent dc09186 commit c74e923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public Map<String, Object> description() {
"clientType", StringUtils.isBlank(clientType) ? "" : clientType,
"goodStanding", StringUtils.isBlank(goodStandingInd) ? "" : goodStandingInd,
"legalType", StringUtils.isBlank(legalType) ? "" : legalType,
"birthdate", Optional.ofNullable(birthdate).isPresent() ?
birthdate : LocalDate.of(1975, 1, 31)
"birthdate", Optional.ofNullable(birthdate).isPresent()
? birthdate : LocalDate.of(1975, 1, 31)
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import static ca.bc.gov.app.util.ClientValidationUtils.fieldIsMissingErrorMessage;

import ca.bc.gov.app.ApplicationConstant;

import ca.bc.gov.app.dto.client.BusinessTypeEnum;
import ca.bc.gov.app.dto.client.ClientBusinessInformationDto;
import ca.bc.gov.app.dto.client.ClientLocationDto;
Expand Down

0 comments on commit c74e923

Please sign in to comment.