@@ -21,21 +21,21 @@ #import "OFURL.h" @implementation OFUnsupportedProtocolException @synthesize URL = _URL; -+ (instancetype)exceptionWithURL: (OFURL*)url ++ (instancetype)exceptionWithURL: (OFURL *)URL { - return [[[self alloc] initWithURL: url] autorelease]; + return [[[self alloc] initWithURL: URL] autorelease]; } - init { OF_INVALID_INIT_METHOD } -- initWithURL: (OFURL*)URL +- initWithURL: (OFURL *)URL { self = [super init]; _URL = [URL retain]; @@ -47,11 +47,11 @@ [_URL release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"The protocol of URL %@ is not supported!", _URL]; } @end