Differences From Artifact [034710c781]:
- File
src/OFDictionary.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: 16237) [annotate] [blame] [check-ins using]
To Artifact [3f825e393b]:
- File src/OFDictionary.m — part of check-in [13f4c6c678] at 2016-09-12 00:27:14 on branch trunk — Add OF_DEALLOC_UNSUPPORTED macro (user: js, size: 16181) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
116 117 118 119 120 121 122 | - (void)release { } - (void)dealloc { | < | < < | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | - (void)release { } - (void)dealloc { OF_DEALLOC_UNSUPPORTED } @end @implementation OFDictionary + (void)initialize { if (self == [OFDictionary class]) |
︙ | ︙ |