@@ -96,29 +96,29 @@ protected void serialize(final Person p) {
96
96
97
97
Iterator <String > itString = p .emails ().iterator ();
98
98
while (itString .hasNext ())
99
- writers .get (PERSON_HAS_EMAIL ).writeHeader (ImmutableList .of (Long .toString (p .accountId ()),itString .next ()));
99
+ writers .get (PERSON_HAS_EMAIL ).writeEntry (ImmutableList .of (Long .toString (p .accountId ()),itString .next ()));
100
100
101
101
102
- writers .get (PERSON_LOCATED_IN_PLACE ).writeHeader (ImmutableList .of (Long .toString (p .accountId ()),Integer .toString (p .cityId ())));
102
+ writers .get (PERSON_LOCATED_IN_PLACE ).writeEntry (ImmutableList .of (Long .toString (p .accountId ()),Integer .toString (p .cityId ())));
103
103
104
104
Iterator <Integer > itInteger = p .interests ().iterator ();
105
105
while (itInteger .hasNext ())
106
- writers .get (PERSON_HAS_INTEREST_TAG ).writeHeader (ImmutableList .of (Long .toString (p .accountId ()),Integer .toString (itInteger .next ())));
106
+ writers .get (PERSON_HAS_INTEREST_TAG ).writeEntry (ImmutableList .of (Long .toString (p .accountId ()),Integer .toString (itInteger .next ())));
107
107
}
108
108
109
109
@ Override
110
110
protected void serialize (final StudyAt studyAt ) {
111
- writers .get (PERSON_STUDY_AT ).writeHeader (ImmutableList .of (Long .toString (studyAt .user ),Long .toString (studyAt .university ),Dictionaries .dates .formatYear (studyAt .year )));
111
+ writers .get (PERSON_STUDY_AT ).writeEntry (ImmutableList .of (Long .toString (studyAt .user ),Long .toString (studyAt .university ),Dictionaries .dates .formatYear (studyAt .year )));
112
112
}
113
113
114
114
@ Override
115
115
protected void serialize (final WorkAt workAt ) {
116
- writers .get (PERSON_WORK_AT ).writeHeader (ImmutableList .of (Long .toString (workAt .user ),Long .toString (workAt .company ), Dictionaries .dates .formatYear (workAt .year )));
116
+ writers .get (PERSON_WORK_AT ).writeEntry (ImmutableList .of (Long .toString (workAt .user ),Long .toString (workAt .company ), Dictionaries .dates .formatYear (workAt .year )));
117
117
}
118
118
119
119
@ Override
120
120
protected void serialize (final Person p , Knows knows ) {
121
- writers .get (PERSON_KNOWS_PERSON ).writeHeader (ImmutableList .of (Long .toString (p .accountId ()),Long .toString (knows .to ().accountId ()),Dictionaries .dates .formatDateTime (knows .creationDate ())));
121
+ writers .get (PERSON_KNOWS_PERSON ).writeEntry (ImmutableList .of (Long .toString (p .accountId ()),Long .toString (knows .to ().accountId ()),Dictionaries .dates .formatDateTime (knows .creationDate ())));
122
122
}
123
123
124
124
}
0 commit comments