mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-25 03:06:25 +00:00
Monotone-Parent: 58f1829bce5e146423ed657d76063f09b7596385
Monotone-Revision: 8bf030be6f5baed09d67ad6a173017ace25834c7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-06-28T14:45:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2012-06-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoObject.m (-initWithName:inContainer:): make
|
||||
sure that "_name" is neither nil nor empty.
|
||||
|
||||
2012-06-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoGroup.m
|
||||
|
||||
@@ -177,6 +177,9 @@
|
||||
{
|
||||
if ((self = [self init]))
|
||||
{
|
||||
if ([_name length] == 0)
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"'_name' must not be an empty string"];
|
||||
context = [[WOApplication application] context];
|
||||
nameInContainer = [_name copy];
|
||||
container = _container;
|
||||
|
||||
Reference in New Issue
Block a user