Differences From Artifact [72511012c6]:
- File src/OFMutableArray_adjacent.m — part of check-in [c9efebeff9] at 2017-09-26 22:40:49 on branch trunk — Work around Clang analyzer false positives (user: js, size: 7758) [annotate] [blame] [check-ins using]
To Artifact [5cf73c1314]:
- File
src/OFMutableArray_adjacent.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: 7772) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | @implementation OFMutableArray_adjacent + (void)initialize { if (self == [OFMutableArray_adjacent class]) [self inheritMethodsFromClass: [OFArray_adjacent class]]; } | | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | @implementation OFMutableArray_adjacent + (void)initialize { if (self == [OFMutableArray_adjacent class]) [self inheritMethodsFromClass: [OFArray_adjacent class]]; } - (instancetype)initWithCapacity: (size_t)capacity { self = [super init]; @try { _array = [[OFMutableData alloc] initWithItemSize: sizeof(id) capacity: capacity]; } @catch (id e) { |
︙ | ︙ |