File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
publication/src/main/scala/hmda/publication/reports/util Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,10 @@ object MinorityStatusUtil {
42
42
val race1NonWhite = lar.race1 == 1 || lar.race1 == 2 || lar.race1 == 3 || lar.race1 == 4
43
43
44
44
race1NonWhite &&
45
- applicantRaceNotWhite(lar.race2) &&
46
- applicantRaceNotWhite(lar.race3) &&
47
- applicantRaceNotWhite(lar.race4) &&
48
- applicantRaceNotWhite(lar.race5)
49
- }
50
-
51
- private def applicantRaceNotWhite (raceEntry : String ): Boolean = {
52
- raceEntry == " 1" ||
53
- raceEntry == " 2" ||
54
- raceEntry == " 3" ||
55
- raceEntry == " 4"
45
+ lar.race2 != " 5" &&
46
+ lar.race3 != " 5" &&
47
+ lar.race4 != " 5" &&
48
+ lar.race5 != " 5"
56
49
}
57
50
58
51
def minorityStatusBorrowerCharacteristic [as : AS , mat : MAT , ec : EC ](
You can’t perform that action at this time.
0 commit comments