Differences From Artifact [b571ce2a18]:
- File
src/OFMutableDictionary.m
— part of check-in
[f816d1ec7c]
at
2016-06-05 15:11:04
on branch trunk
— Move -[setValue:forKey:] to OFDictionary
If this is only overridden in OFMutableDictionary, this would lead to
inconsistent behavior, as it could be called on an OFDictionary as well
due to the fact that -[setValue:forKey:] is defined in OFObject.
Instead, if the dictionary is immutable, an OFUndefinedKeyException is
thrown. (user: js, size: 4014) [annotate] [blame] [check-ins using]
To Artifact [df17c135f5]:
- File src/OFMutableDictionary.m — part of check-in [13f4c6c678] at 2016-09-12 00:27:14 on branch trunk — Add OF_DEALLOC_UNSUPPORTED macro (user: js, size: 3958) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
112 113 114 115 116 117 118 | - (void)release { } - (void)dealloc { | < | < < | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - (void)release { } - (void)dealloc { OF_DEALLOC_UNSUPPORTED } @end @implementation OFMutableDictionary + (void)initialize { if (self == [OFMutableDictionary class]) |
︙ | ︙ |