Coding style.

This commit is contained in:
Jonathan Schleifer 2013-07-01 22:32:09 +02:00
parent fac12cfde9
commit ed5604447a
10 changed files with 60 additions and 60 deletions

View file

@ -61,16 +61,16 @@
self = [super init];
@try {
if ((JID == nil) &&
if (JID == nil &&
![self isKindOfClass: [XMPPDiscoEntity class]])
@throw [OFInvalidArgumentException exception];
_JID = [JID copy];
_node = [node copy];
_name = [name copy];
_identities = [OFSortedList new];
_features = [OFSortedList new];
_childNodes = [OFMutableDictionary new];
_identities = [[OFSortedList alloc] init];
_features = [[OFSortedList alloc] init];
_childNodes = [[OFMutableDictionary alloc] init];
[self addFeature: XMPP_NS_DISCO_ITEMS];
[self addFeature: XMPP_NS_DISCO_INFO];