@@ -35,16 +35,16 @@ - init { return (id)[[OFCountedSet_hashtable alloc] init]; } -- initWithSet: (OFSet*)set +- initWithSet: (OFSet *)set { return (id)[[OFCountedSet_hashtable alloc] initWithSet: set]; } -- initWithArray: (OFArray*)array +- initWithArray: (OFArray *)array { return (id)[[OFCountedSet_hashtable alloc] initWithArray: array]; } - initWithObjects: (id)firstObject, ... @@ -58,11 +58,11 @@ va_end(arguments); return ret; } -- initWithObjects: (id const*)objects +- initWithObjects: (id const *)objects count: (size_t)count { return (id)[[OFCountedSet_hashtable alloc] initWithObjects: objects count: count]; } @@ -72,11 +72,11 @@ { return (id)[[OFCountedSet_hashtable alloc] initWithObject: firstObject arguments: arguments]; } -- initWithSerialization: (OFXMLElement*)element +- initWithSerialization: (OFXMLElement *)element { return (id)[[OFCountedSet_hashtable alloc] initWithSerialization: element]; } @@ -134,11 +134,11 @@ - (size_t)countForObject: (id)object { OF_UNRECOGNIZED_SELECTOR } -- (OFString*)description +- (OFString *)description { OFMutableString *ret; void *pool; size_t i, count = [self count]; @@ -180,11 +180,11 @@ - mutableCopy { return [[OFCountedSet alloc] initWithSet: self]; } -- (OFXMLElement*)XMLElementBySerializing +- (OFXMLElement *)XMLElementBySerializing { void *pool = objc_autoreleasePoolPush(); OFXMLElement *element; element = [OFXMLElement elementWithName: @"OFCountedSet" @@ -226,16 +226,16 @@ block(object, [self countForObject: object], stop); }]; } #endif -- (void)minusSet: (OFSet*)set +- (void)minusSet: (OFSet *)set { void *pool = objc_autoreleasePoolPush(); if ([set isKindOfClass: [OFCountedSet class]]) { - OFCountedSet *countedSet = (OFCountedSet*)set; + OFCountedSet *countedSet = (OFCountedSet *)set; for (id object in countedSet) { size_t count = [countedSet countForObject: object]; for (size_t i = 0; i < count; i++) @@ -246,16 +246,16 @@ [self removeObject: object]; objc_autoreleasePoolPop(pool); } -- (void)unionSet: (OFSet*)set +- (void)unionSet: (OFSet *)set { void *pool = objc_autoreleasePoolPush(); if ([set isKindOfClass: [OFCountedSet class]]) { - OFCountedSet *countedSet = (OFCountedSet*)set; + OFCountedSet *countedSet = (OFCountedSet *)set; for (id object in countedSet) { size_t count = [countedSet countForObject: object]; for (size_t i = 0; i < count; i++)