@@ -82,11 +82,11 @@ [_sites release]; [super dealloc]; } -- (OFArray*)sites +- (OFArray *)sites { void *pool = objc_autoreleasePoolPush(); OFArray *sites = [[_storage allKeys] sortedArray]; [sites retain]; @@ -97,36 +97,36 @@ - (size_t)sitesCount { return [_storage count]; } -- (bool)hasSite: (OFString*)name +- (bool)hasSite: (OFString *)name { return (_storage[name] != nil); } -- (size_t)lengthForSite: (OFString*)name +- (size_t)lengthForSite: (OFString *)name { OFDictionary *site = _storage[name]; if (site == nil) @throw [OFInvalidArgumentException exception]; return [site[lengthField] sizeValue]; } -- (bool)isSiteLegacy: (OFString*)name +- (bool)isSiteLegacy: (OFString *)name { OFDictionary *site = _storage[name]; if (site == nil) @throw [OFInvalidArgumentException exception]; return [site[legacyField] boolValue]; } -- (void)setSite: (OFString*)site +- (void)setSite: (OFString *)site length: (size_t)length legacy: (bool)legacy { void *pool = objc_autoreleasePoolPush(); @@ -137,11 +137,11 @@ [self _update]; objc_autoreleasePoolPop(pool); } -- (void)removeSite: (OFString*)name +- (void)removeSite: (OFString *)name { [_storage removeObjectForKey: name]; [self _update]; }