Differences From Artifact [cedcad6c16]:
- File
src/OFXMLComment.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: 2959) [annotate] [blame] [check-ins using]
To Artifact [66a1baec46]:
- File src/OFXMLComment.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 2996) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
73 74 75 76 77 78 79 80 81 82 83 84 85 86 | [super dealloc]; } - (bool)isEqual: (id)object { OFXMLComment *comment; if (![object isKindOfClass: [OFXMLComment class]]) return false; comment = object; return ([comment->_comment isEqual: _comment]); | > > > | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | [super dealloc]; } - (bool)isEqual: (id)object { OFXMLComment *comment; if (object == self) return true; if (![object isKindOfClass: [OFXMLComment class]]) return false; comment = object; return ([comment->_comment isEqual: _comment]); |
︙ | ︙ |