Monotone-Parent: 88abde23827bf8224db16cc732418d143787b3f6

Monotone-Revision: bcf0244d358523a4f4d16339d9ea38d4ce1114e2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-14T12:01:29
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-10-14 12:01:29 +00:00
parent 3bdf3aacde
commit 4a3f7e384f
3 changed files with 4 additions and 10 deletions

View File

@ -323,7 +323,7 @@ static NSString *LDAPContactInfoAttribute = nil;
[response setHeader: @"text/plain; charset=utf-8" [response setHeader: @"text/plain; charset=utf-8"
forKey: @"Content-Type"]; forKey: @"Content-Type"];
responseString = [NSMutableString new]; responseString = [NSMutableString string];
// We sort our array - this is pretty useful for the Web // We sort our array - this is pretty useful for the Web
// interface of SOGo. // interface of SOGo.
@ -353,7 +353,6 @@ static NSString *LDAPContactInfoAttribute = nil;
} }
} }
[response appendContentString: responseString]; [response appendContentString: responseString];
[responseString release];
return response; return response;
} }

View File

@ -240,8 +240,7 @@
NSCalendarDate *startDate; NSCalendarDate *startDate;
NSTimeZone *dtz; NSTimeZone *dtz;
title = [NSMutableString new]; title = [NSMutableString string];
[title autorelease];
dtz = [self displayTZ]; dtz = [self displayTZ];
startDate = [_apt valueForKey: @"startDate"]; startDate = [_apt valueForKey: @"startDate"];

View File

@ -176,9 +176,7 @@
NSMutableArray *hours; NSMutableArray *hours;
unsigned int h; unsigned int h;
hours = [NSMutableArray new]; hours = [NSMutableArray array];
[hours autorelease];
for (h = startHour; h < (endHour + 1); h++) for (h = startHour; h < (endHour + 1); h++)
[hours addObject: [NSNumber numberWithInt: h]]; [hours addObject: [NSNumber numberWithInt: h]];
@ -210,9 +208,7 @@
NSMutableArray *minutes; NSMutableArray *minutes;
unsigned int m; unsigned int m;
minutes = [NSMutableArray new]; minutes = [NSMutableArray array];
[minutes autorelease];
for (m = 0; m < 60; m += 15) for (m = 0; m < 60; m += 15)
[minutes addObject: [NSNumber numberWithInt: m]]; [minutes addObject: [NSNumber numberWithInt: m]];