mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +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 parent
8ef875b1f4
commit
79552f8ff3
2 files changed
+8
No files matched your search
@@ -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>
|
2012-06-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/SOGo/SOGoGroup.m
|
* SoObjects/SOGo/SOGoGroup.m
|
||||||
|
|||||||
@@ -177,6 +177,9 @@
|
|||||||
{
|
{
|
||||||
if ((self = [self init]))
|
if ((self = [self init]))
|
||||||
{
|
{
|
||||||
|
if ([_name length] == 0)
|
||||||
|
[NSException raise: NSInvalidArgumentException
|
||||||
|
format: @"'_name' must not be an empty string"];
|
||||||
context = [[WOApplication application] context];
|
context = [[WOApplication application] context];
|
||||||
nameInContainer = [_name copy];
|
nameInContainer = [_name copy];
|
||||||
container = _container;
|
container = _container;
|
||||||
|
|||||||
Reference in new issue
Block a user