Differences From Artifact [8262adf7cd]:
- File src/exceptions/OFUndefinedKeyException.h — part of check-in [cc5923d6bb] at 2017-06-04 23:41:38 on branch trunk — Add designated initializer to all exceptions (user: js, size: 2657) [annotate] [blame] [check-ins using]
To Artifact [2cf6faae58]:
- File
src/exceptions/OFUndefinedKeyException.h
— 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: 2699) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
68 69 70 71 72 73 74 | * * @return A new, autoreleased undefined key exception */ + (instancetype)exceptionWithObject: (id)object key: (OFString *)key value: (nullable id)value; | | | | | | | | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | * * @return A new, autoreleased undefined key exception */ + (instancetype)exceptionWithObject: (id)object key: (OFString *)key value: (nullable id)value; - (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated undefined key exception. * * @param object The object on which the key is undefined * @param key The key which is undefined * * @return An initialized undefined key exception */ - (instancetype)initWithObject: (id)object key: (OFString *)key; /*! * @brief Initializes an already allocated undefined key exception. * * @param object The object on which the key is undefined * @param key The key which is undefined * @param value The value for the undefined key * * @return An initialized undefined key exception */ - (instancetype)initWithObject: (id)object key: (OFString *)key value: (nullable id)value OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END |