Skip to content

Commit

Permalink
Remove incorrect when block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredb96 committed Jun 27, 2024
1 parent f63cd1b commit a0d707e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ object V631_1 extends EditCheck[LoanApplicationRegister] {
lar.coApplicant.ethnicity.ethnicity1 is containedIn(validEthnicities) and (lar.coApplicant.ethnicity.ethnicity1 not empty)

private def checkFreeformNotEmpty(lar: LoanApplicationRegister): ValidationResult =
when(lar.coApplicant.ethnicity.otherHispanicOrLatino is empty) {
lar.coApplicant.ethnicity.ethnicity1 is containedIn(validEthnicities) or (lar.coApplicant.ethnicity.ethnicity1 is empty)
}
}

0 comments on commit a0d707e

Please sign in to comment.