aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGroupNode.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPGroupNode.m')
-rw-r--r--Source/SPGroupNode.m6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/SPGroupNode.m b/Source/SPGroupNode.m
index 5479397b..7bf1124b 100644
--- a/Source/SPGroupNode.m
+++ b/Source/SPGroupNode.m
@@ -75,17 +75,13 @@ static NSString *SPGroupNodeNameKey = @"SPGroupNodeName";
- (id)initWithCoder:(NSCoder *)coder
{
- if ((self = [super initWithCoder:coder])) {
- [self setNodeName:[coder decodeObjectForKey:SPGroupNodeNameKey]];
- }
+ [self setNodeName:[coder decodeObjectForKey:SPGroupNodeNameKey]];
return self;
}
- (void)encodeWithCoder:(NSCoder *)coder
{
- [super encodeWithCoder:coder];
-
[coder encodeObject:[self nodeName] forKey:SPGroupNodeNameKey];
}