78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
return false;
other = object;
if (other->_answerRecords != _answerRecords &&
![other->_answerRecords isEqual: _answerRecords])
return false;
if (other->_authorityRecords != _authorityRecords &&
![other->_authorityRecords isEqual: _authorityRecords])
return false;
if (other->_additionalRecords != _additionalRecords &&
![other->_additionalRecords isEqual: _additionalRecords])
return false;
return true;
}
|
<
<
|
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
return false;
other = object;
if (other->_answerRecords != _answerRecords &&
![other->_answerRecords isEqual: _answerRecords])
return false;
if (other->_authorityRecords != _authorityRecords &&
![other->_authorityRecords isEqual: _authorityRecords])
return false;
if (other->_additionalRecords != _additionalRecords &&
![other->_additionalRecords isEqual: _additionalRecords])
return false;
return true;
}
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
stringByReplacingOccurrencesOfString: @"\n"
withString: @"\n\t"];
OFString *additionalRecords = [_additionalRecords.description
stringByReplacingOccurrencesOfString: @"\n"
withString: @"\n\t"];
return [OFString stringWithFormat:
@"<OFDNSResponse:\n"
@"\tAnswer records = %@\n"
@"\tAuthority records = %@\n"
@"\tAdditional records = %@\n"
@">",
answerRecords, authorityRecords, additionalRecords];
}
@end
|
|
|
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
stringByReplacingOccurrencesOfString: @"\n"
withString: @"\n\t"];
OFString *additionalRecords = [_additionalRecords.description
stringByReplacingOccurrencesOfString: @"\n"
withString: @"\n\t"];
return [OFString stringWithFormat:
@"<%@:\n"
@"\tAnswer records = %@\n"
@"\tAuthority records = %@\n"
@"\tAdditional records = %@\n"
@">",
self.className, answerRecords, authorityRecords, additionalRecords];
}
@end
|