File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
publication/src/main/scala/hmda/publication/reports/util Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ object RaceUtil {
50
50
case Joint =>
51
51
larSource.filter { lar =>
52
52
(applicantOneOrMoreMinorities(lar) || coApplicantOneOrMoreMinorities(lar)) &&
53
- (lar.race1 == 5 || coApplicantWhite(lar))
53
+ (applicantWhite( lar) || coApplicantWhite(lar))
54
54
}
55
55
56
56
case NotProvided =>
@@ -66,6 +66,14 @@ object RaceUtil {
66
66
lar.race5 == " "
67
67
}
68
68
69
+ private def applicantWhite (lar : LoanApplicationRegisterQuery ): Boolean = {
70
+ lar.race1 == 5 &&
71
+ lar.race2 == " " &&
72
+ lar.race3 == " " &&
73
+ lar.race4 == " " &&
74
+ lar.race5 == " "
75
+ }
76
+
69
77
private def coApplicantWhite (lar : LoanApplicationRegisterQuery ): Boolean = {
70
78
lar.coRace1 == 5 &&
71
79
lar.coRace2 == " " &&
You can’t perform that action at this time.
0 commit comments