Differences From Artifact [67186a8de4]:
- File
src/OFMessagePackExtension.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 3622) [annotate] [blame] [check-ins using]
To Artifact [159f7d26e5]:
- File src/OFMessagePackExtension.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 3659) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
157 158 159 160 161 162 163 164 165 166 167 168 169 170 | return [OFString stringWithFormat: @"<OFMessagePackExtension: %d, %@>", _type, _data]; } - (bool)isEqual: (id)object { OFMessagePackExtension *extension; if (![object isKindOfClass: [OFMessagePackExtension class]]) return false; extension = object; if (extension->_type != _type || ![extension->_data isEqual: _data]) | > > > | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | return [OFString stringWithFormat: @"<OFMessagePackExtension: %d, %@>", _type, _data]; } - (bool)isEqual: (id)object { OFMessagePackExtension *extension; if (object == self) return true; if (![object isKindOfClass: [OFMessagePackExtension class]]) return false; extension = object; if (extension->_type != _type || ![extension->_data isEqual: _data]) |
︙ | ︙ |