@@ -26,11 +26,11 @@ + (instancetype)URL { return [[[self alloc] init] autorelease]; } -- init +- (instancetype)init { return [super of_init]; } - (void)setScheme: (OFString *)scheme @@ -92,11 +92,11 @@ OFString *old = _fragment; _fragment = [fragment copy]; [old release]; } -- copy +- (id)copy { OFMutableURL *copy = [self mutableCopy]; [copy makeImmutable];