Differences From Artifact [f5a435fe1e]:
- File
src/OFDate.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: 14087) [annotate] [blame] [check-ins using]
To Artifact [ed9a79856e]:
- File src/OFDate.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 14124) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
353 354 355 356 357 358 359 360 361 362 363 364 365 366 | return self; } - (bool)isEqual: (id)object { OFDate *otherDate; if (![object isKindOfClass: [OFDate class]]) return false; otherDate = object; if (otherDate->_seconds != _seconds) | > > > | 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | return self; } - (bool)isEqual: (id)object { OFDate *otherDate; if (object == self) return true; if (![object isKindOfClass: [OFDate class]]) return false; otherDate = object; if (otherDate->_seconds != _seconds) |
︙ | ︙ |