Differences From Artifact [2c5cb8ffaf]:
- File src/exceptions/OFAlreadyConnectedException.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: 1349) [annotate] [blame] [check-ins using]
To Artifact [87e3797b38]:
- File
src/exceptions/OFAlreadyConnectedException.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: 1377) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 | @synthesize socket = _socket; + (instancetype)exceptionWithSocket: (id)socket { return [[[self alloc] initWithSocket: socket] autorelease]; } | | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | @synthesize socket = _socket; + (instancetype)exceptionWithSocket: (id)socket { return [[[self alloc] initWithSocket: socket] autorelease]; } - (instancetype)init { return [self initWithSocket: nil]; } - (instancetype)initWithSocket: (id)socket { self = [super init]; _socket = [socket retain]; return self; } |
︙ | ︙ |