Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a style issue Xcode is nagging about.

  • Loading branch information...
commit d3a5d6b9fad9065736ffdd588718dd9701cd2899 1 parent 44bb34c
Manfred Stienstra Manfred authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/models/Application.m
6 app/models/Application.m
View
@@ -16,7 +16,7 @@ +(void) initialize {
}
- (id) init {
- if (self = [super init]) {
+ if ((self = [super init])) {
self.host = @"";
self.aliases = @"";
self.path = @"";
@@ -30,7 +30,7 @@ - (id) init {
}
- (id) initWithAttributes:(NSDictionary *)attributes {
- if (self = [self init]) {
+ if ((self = [super init])) {
[self updateAttributes:attributes];
self.dirty = NO;
self.fresh = NO;
@@ -41,7 +41,7 @@ - (id) initWithAttributes:(NSDictionary *)attributes {
}
- (id) initWithDirectory:(NSString *)aPath {
- if (self = [self init]) {
+ if ((self = [super init])) {
beforeChanges = [self toDictionary];
self.path = aPath;
self.dirty = YES;
Please sign in to comment.
Something went wrong with that request. Please try again.