From 1e5288e9840e201a00bcb5ca3035d7aa807f1f8d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 7 Mar 2011 20:12:52 +0000 Subject: Bring outline view branch up to date with trunk (r3203:r3224). --- Source/SPCSVParser.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/SPCSVParser.m') diff --git a/Source/SPCSVParser.m b/Source/SPCSVParser.m index f1e63c72..f19c2d55 100644 --- a/Source/SPCSVParser.m +++ b/Source/SPCSVParser.m @@ -48,7 +48,7 @@ totalLengthParsed = 0; // Loop through the results fetching process - while (csvRowArray = [self getRowAsArrayAndTrimString:NO stringIsComplete:YES]) + while ((csvRowArray = [self getRowAsArrayAndTrimString:NO stringIsComplete:YES])) { CFArrayAppendValue((CFMutableArrayRef)csvArray, csvRowArray); } @@ -603,7 +603,7 @@ #pragma mark - - (id) init { - if (self = [super init]) { + if ((self = [super init])) { csvString = [[NSMutableString alloc] init]; [self _initialiseCSVParserDefaults]; } @@ -611,14 +611,14 @@ } - (id) initWithString:(NSString *)aString { - if (self = [super init]) { + if ((self = [super init])) { csvString = [[NSMutableString alloc] initWithString:aString]; [self _initialiseCSVParserDefaults]; } return self; } - (id) initWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)encoding error:(NSError **)error { - if (self = [super init]) { + if ((self = [super init])) { csvString = [[NSMutableString alloc] initWithContentsOfFile:path encoding:encoding error:error]; [self _initialiseCSVParserDefaults]; } -- cgit v1.2.3