Avoid unnecessary calls to NSLog
parent
1a10599369
commit
e2bee23021
|
@ -106,7 +106,7 @@
|
||||||
acquire: NO];
|
acquire: NO];
|
||||||
if ([test isKindOfClass: [NSException class]])
|
if ([test isKindOfClass: [NSException class]])
|
||||||
{
|
{
|
||||||
NSLog (@"%@ not found", [card reference]);
|
//NSLog (@"%@ not found", [card reference]);
|
||||||
cardCopy = [card copy];
|
cardCopy = [card copy];
|
||||||
[invalid addObject: cardCopy];
|
[invalid addObject: cardCopy];
|
||||||
[cardCopy release];
|
[cardCopy release];
|
||||||
|
|
|
@ -272,7 +272,7 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||||
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
|
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
|
||||||
{
|
{
|
||||||
// Remove the leading slash
|
// Remove the leading slash
|
||||||
NSLog(@"Found void tag with invalid leading slash: </%@>", found_tag);
|
//NSLog(@"Found void tag with invalid leading slash: </%@>", found_tag);
|
||||||
i--;
|
i--;
|
||||||
[d replaceBytesInRange: NSMakeRange(i, 1)
|
[d replaceBytesInRange: NSMakeRange(i, 1)
|
||||||
withBytes: NULL
|
withBytes: NULL
|
||||||
|
|
|
@ -77,7 +77,7 @@ static NSString *mailETag = nil;
|
||||||
SOGO_MAJOR_VERSION,
|
SOGO_MAJOR_VERSION,
|
||||||
SOGO_MINOR_VERSION,
|
SOGO_MINOR_VERSION,
|
||||||
SOGO_SUBMINOR_VERSION];
|
SOGO_SUBMINOR_VERSION];
|
||||||
NSLog (@"Note: using constant etag for mail viewer: '%@'", mailETag);
|
//NSLog (@"Note: using constant etag for mail viewer: '%@'", mailETag);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* UIxCalView.m - this file is part of SOGo
|
/* UIxCalView.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2009 Inverse inc.
|
* Copyright (C) 2006-2015 Inverse inc.
|
||||||
*
|
|
||||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -584,7 +582,7 @@
|
||||||
[uri appendString: @"Groups/_custom_"];
|
[uri appendString: @"Groups/_custom_"];
|
||||||
[uri appendString: uidsString];
|
[uri appendString: uidsString];
|
||||||
[uri appendString: @"/"];
|
[uri appendString: @"/"];
|
||||||
NSLog (@"Group URI = '%@'", uri);
|
//NSLog (@"Group URI = '%@'", uri);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* UIxComponentEditor.m - this file is part of SOGo
|
/* UIxComponentEditor.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2014 Inverse inc.
|
* Copyright (C) 2006-2015 Inverse inc.
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -594,7 +594,7 @@ iRANGE(2);
|
||||||
ASSIGN (reminderUnit, @"MINUTES");
|
ASSIGN (reminderUnit, @"MINUTES");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
NSLog(@"Cannot process duration unit: '%c'", c);
|
//NSLog(@"Cannot process duration unit: '%c'", c);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1887,7 +1887,9 @@ RANGE(2);
|
||||||
[component setAttendees: newAttendees];
|
[component setAttendees: newAttendees];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
NSLog(@"Error scanning following JSON:\n%@", json);
|
{
|
||||||
|
//NSLog(@"Error scanning following JSON:\n%@", json);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue