Differences From Artifact [e5cb38f069]:
- File
src/OFPair.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: 2183) [annotate] [blame] [check-ins using]
To Artifact [f2d44708a8]:
- File src/OFPair.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 2220) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | { return _secondObject; } - (bool)isEqual: (id)object { OFPair *pair; if (![object isKindOfClass: [OFPair class]]) return false; pair = object; if (pair->_firstObject != _firstObject && | > > > | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | { return _secondObject; } - (bool)isEqual: (id)object { OFPair *pair; if (object == self) return true; if (![object isKindOfClass: [OFPair class]]) return false; pair = object; if (pair->_firstObject != _firstObject && |
︙ | ︙ |