@@ -16,7 +16,7 @@ class PersonOutputStream(
16
16
personWorkAtCompanyStream : RecordOutputStream [raw.PersonWorkAtCompany ]
17
17
) extends RecordOutputStream [Person ] {
18
18
19
- private def getGender (gender : Int ): String = if (gender == 0 ) " male " else " female "
19
+ private def getGender (gender : Int ): String = if (gender == 0 ) " female " else " male "
20
20
21
21
private def getLanguages (languages : util.List [Integer ]): Seq [String ] = {
22
22
languages.asScala.map(x => Dictionaries .languages.getLanguageName(x))
@@ -60,7 +60,6 @@ class PersonOutputStream(
60
60
val personStudyAtUniversity = raw.PersonStudyAtUniversity (
61
61
person.getCreationDate,
62
62
person.getDeletionDate,
63
- person.isExplicitlyDeleted,
64
63
person.getAccountId,
65
64
universityId,
66
65
person.getClassYear.toInt
@@ -72,7 +71,6 @@ class PersonOutputStream(
72
71
val personWorkAtCompany = raw.PersonWorkAtCompany (
73
72
person.getCreationDate,
74
73
person.getDeletionDate,
75
- person.isExplicitlyDeleted,
76
74
person.getAccountId,
77
75
companyId,
78
76
person.getCompanies.get(companyId).toInt
@@ -85,9 +83,9 @@ class PersonOutputStream(
85
83
for (know <- knows.iterator().asScala) {
86
84
if (person.getAccountId < know.to.getAccountId) {
87
85
val personKnowsPerson = raw.PersonKnowsPerson (
88
- person .getCreationDate,
89
- person .getDeletionDate,
90
- person .isExplicitlyDeleted,
86
+ know .getCreationDate,
87
+ know .getDeletionDate,
88
+ know .isExplicitlyDeleted,
91
89
person.getAccountId,
92
90
know.to().getAccountId
93
91
)
0 commit comments