Overview
Comment: | Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
178390a16f455d4c91538a9fba0d46e3 |
User & Date: | js on 2013-02-13 23:18:20 |
Other Links: | manifest | tags |
Context
2013-02-13
| ||
23:24 | Fix missing ivars missing the underscore prefix. check-in: d6baa9982e user: js tags: trunk | |
23:18 | Don't cache the description of exceptions. check-in: 178390a16f user: js tags: trunk | |
2013-02-12
| ||
21:36 | Prefix all ivars with an underscore. check-in: 8dfcb87717 user: js tags: trunk | |
Changes
Modified src/XMPPExceptions.m from [b762333688] to [8fb736958d].
︙ | ︙ | |||
61 62 63 64 65 66 67 | - (void)dealloc { [_connection release]; [super dealloc]; } | < < < < < < < < < < < | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - (void)dealloc { [_connection release]; [super dealloc]; } - (XMPPConnection*)connection { return _connection; } @end @implementation XMPPStreamErrorException |
︙ | ︙ | |||
128 129 130 131 132 133 134 | [reason release]; [super dealloc]; } - (OFString*)description { | < | | < | < < | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | [reason release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Got stream error in class %@: %@. Reason: %@!", [self inClass], condition, reason]; } - (OFString*)condition { return condition; } |
︙ | ︙ | |||
198 199 200 201 202 203 204 | [string release]; [super dealloc]; } - (OFString*)description { | < < | < | | < < | 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | [string release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Stringprep with profile %@ failed in class %@ on string '%@'!", profile, [self inClass], string]; } - (OFString*)profile { return profile; } |
︙ | ︙ | |||
269 270 271 272 273 274 275 | [string release]; [super dealloc]; } - (OFString*)description { | < < | < | | < | 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | [string release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"IDNA operation %@ failed in class %@ on string '%@'!", operation, [self inClass], string]; } - (OFString*)operation { return operation; } |
︙ | ︙ | |||
334 335 336 337 338 339 340 | [reason release]; [super dealloc]; } - (OFString*)description { | < < | < | | < | 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | [reason release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Authentication failed in class %@. Reason: %@!", [self inClass], reason]; } - (OFString*)reason { return reason; } @end |