diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 2e81c029b..86ab24ed6 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -157,17 +157,14 @@ static NSNumber *sharedYes = nil; NSArray *properties; unsigned int count, max; - [r appendContentString: @""]; - [r appendContentString: @""]; + [r appendContentString: @""]; properties = [propstat objectForKey: @"properties"]; max = [properties count]; for (count = 0; count < max; count++) [r appendContentString: [properties objectAtIndex: count]]; - [r appendContentString: @""]; - [r appendContentString: @""]; + [r appendContentString: @""]; [r appendContentString: [propstat objectForKey: @"status"]]; - [r appendContentString: @""]; - [r appendContentString: @""]; + [r appendContentString: @""]; } #warning we should use the EOFetchSpecification for that!!! (see doPROPFIND:) @@ -191,12 +188,8 @@ static NSNumber *sharedYes = nil; { methodSel = NSSelectorFromString(methodName); if ([sogoObject respondsToSelector: methodSel]) - { - value = [[sogoObject performSelector: methodSel] - stringByEscapingXMLString]; - if (![value length]) - NSLog (@"value empty?"); - } + value = [[sogoObject performSelector: methodSel] + stringByEscapingXMLString]; } return value; @@ -334,31 +327,27 @@ static NSNumber *sharedYes = nil; NSEnumerator *propstats; NSDictionary *propstat; - [r appendContentString: @" \r\n"]; - [r appendContentString: @" "]; + [r appendContentString: @""]; [r appendContentString: baseURL]; if (![baseURL hasSuffix: @"/"]) [r appendContentString: @"/"]; [r appendContentString: [object objectForKey: @"c_name"]]; - [r appendContentString: @"\r\n"]; + [r appendContentString: @""]; propstats = [[self _propstats: properties ofObject: object] objectEnumerator]; while ((propstat = [propstats nextObject])) [self _appendPropstat: propstat toResponse: r]; - [r appendContentString: @" \r\n"]; + [r appendContentString: @"\r\n"]; } - (void) appendMissingObjectRef: (NSString *) href toComplexResponse: (WOResponse *) r { - [r appendContentString: @" \r\n"]; - [r appendContentString: @" "]; + [r appendContentString: @""]; [r appendContentString: href]; - [r appendContentString: @"\r\n"]; - [r appendContentString: @" HTTP/1.1 404 Not Found\r\n"]; - [r appendContentString: @" \r\n"]; + [r appendContentString: @"HTTP/1.1 404 Not Found\r\n"]; } - (void) _appendTimeRange: (id ) timeRangeElement @@ -506,8 +495,6 @@ static NSNumber *sharedYes = nil; { urlComponents = [componentURLPath componentsSeparatedByString: @"/"]; cName = [urlComponents objectAtIndex: [urlComponents count] - 1]; - if ([cName isEqualToString: @"2AAC-4E8AB421-1-B767AA80"]) - NSLog (@"breakpoint..."); component = [NSDictionary dictionaryWithObject: cName forKey: @"c_name"]; }