Overview
Comment: | Fix wrong -[description] for an empty OFDictionary. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4e87bc98620ef0264a478c2820de5df4 |
User & Date: | js on 2011-12-10 18:17:32 |
Other Links: | manifest | tags |
Context
2011-12-10
| ||
21:46 | Add JSON parsing. check-in: 8ba0a62c0d user: js tags: trunk | |
18:17 | Fix wrong -[description] for an empty OFDictionary. check-in: 4e87bc9862 user: js tags: trunk | |
13:17 | Add JSON encoding. check-in: 243a96fc2d user: js tags: trunk | |
Changes
Modified src/OFDictionary.m from [fa0065ee5f] to [867202c84f].
︙ | ︙ | |||
461 462 463 464 465 466 467 | OFMutableString *ret; OFAutoreleasePool *pool, *pool2; OFEnumerator *keyEnumerator, *objectEnumerator; id key, object; size_t i, count = [self count]; if (count == 0) | | | 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | OFMutableString *ret; OFAutoreleasePool *pool, *pool2; OFEnumerator *keyEnumerator, *objectEnumerator; id key, object; size_t i, count = [self count]; if (count == 0) return @"{}"; ret = [OFMutableString stringWithString: @"{\n"]; pool = [[OFAutoreleasePool alloc] init]; keyEnumerator = [self keyEnumerator]; objectEnumerator = [self objectEnumerator]; i = 0; |
︙ | ︙ |