@@ -20,11 +20,11 @@ #import "OFString.h" @implementation OFInvalidJSONException @synthesize string = _string, line = _line; -+ (instancetype)exceptionWithString: (OFString*)string ++ (instancetype)exceptionWithString: (OFString *)string line: (size_t)line { return [[[self alloc] initWithString: string line: line] autorelease]; } @@ -32,11 +32,11 @@ - init { OF_INVALID_INIT_METHOD } -- initWithString: (OFString*)string +- initWithString: (OFString *)string line: (size_t)line { self = [super init]; @try { @@ -55,11 +55,11 @@ [_string release]; [super dealloc]; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"The JSON representation is invalid in line %zu!", _line]; } @end