Differences From Artifact [88a51a548f]:
- File src/exceptions/OFLockFailedException.m — part of check-in [cc5923d6bb] at 2017-06-04 23:41:38 on branch trunk — Add designated initializer to all exceptions (user: js, size: 1252) [annotate] [blame] [check-ins using]
To Artifact [0ed564b6e9]:
- File
src/exceptions/OFLockFailedException.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: 1280) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 | @synthesize lock = _lock; + (instancetype)exceptionWithLock: (id <OFLocking>)lock { return [[[self alloc] initWithLock: lock] autorelease]; } | | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | @synthesize lock = _lock; + (instancetype)exceptionWithLock: (id <OFLocking>)lock { return [[[self alloc] initWithLock: lock] autorelease]; } - (instancetype)init { return [self initWithLock: nil]; } - (instancetype)initWithLock: (id <OFLocking>)lock { self = [super init]; _lock = [lock retain]; return self; } |
︙ | ︙ |