Differences From Artifact [33eb5fdd58]:
- File
src/OFHTTPRequest.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: 6675) [annotate] [blame] [check-ins using]
To Artifact [88ac73f99a]:
- File src/OFHTTPRequest.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 6712) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
return copy;
}
- (bool)isEqual: (id)object
{
OFHTTPRequest *request;
if (![object isKindOfClass: [OFHTTPRequest class]])
return false;
request = object;
if (request->_method != _method ||
| > > > | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
return copy;
}
- (bool)isEqual: (id)object
{
OFHTTPRequest *request;
if (object == self)
return true;
if (![object isKindOfClass: [OFHTTPRequest class]])
return false;
request = object;
if (request->_method != _method ||
|
| ︙ | ︙ |