Differences From Artifact [3298ffe82d]:
- File
src/OFXMLAttribute.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: 4154) [annotate] [blame] [check-ins using]
To Artifact [4c88350128]:
- File src/OFXMLAttribute.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 4191) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
116 117 118 119 120 121 122 123 124 125 126 127 128 129 | _stringValue = [stringValue copy]; [old release]; } - (bool)isEqual: (id)object { OFXMLAttribute *attribute; if (![object isKindOfClass: [OFXMLAttribute class]]) return false; attribute = object; if (![attribute->_name isEqual: _name]) | > > > | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | _stringValue = [stringValue copy]; [old release]; } - (bool)isEqual: (id)object { OFXMLAttribute *attribute; if (object == self) return true; if (![object isKindOfClass: [OFXMLAttribute class]]) return false; attribute = object; if (![attribute->_name isEqual: _name]) |
︙ | ︙ |