Differences From Artifact [6f8779fe47]:
- File src/OFDictionary_hashtable.m — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 9084) [annotate] [blame] [check-ins using]
To Artifact [c66bc3b5e1]:
- File
src/OFDictionary_hashtable.m
— part of check-in
[2de15db195]
at
2013-03-01 21:19:02
on branch trunk
— Rethrow some exceptions to fix class.
This way, the error message will show the called class instead of the
class used internally. (user: js, size: 9242) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
303 304 305 306 307 308 309 | [_mapTable dealloc]; [super dealloc]; } - (id)objectForKey: (id)key { | > | > > > > > | 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 | [_mapTable dealloc]; [super dealloc]; } - (id)objectForKey: (id)key { @try { return [_mapTable valueForKey: key]; } @catch (OFInvalidArgumentException *e) { @throw [OFInvalidArgumentException exceptionWithClass: [self class] selector: _cmd]; } } - (size_t)count { return [_mapTable count]; } |
︙ | ︙ |