Skip to content
This repository
Browse code

Fix a style issue Xcode is nagging about.

  • Loading branch information...
commit d3a5d6b9fad9065736ffdd588718dd9701cd2899 1 parent 44bb34c
Manfred Stienstra Manfred authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 app/models/Application.m
6 app/models/Application.m
@@ -16,7 +16,7 @@ +(void) initialize {
16 16 }
17 17
18 18 - (id) init {
19   - if (self = [super init]) {
  19 + if ((self = [super init])) {
20 20 self.host = @"";
21 21 self.aliases = @"";
22 22 self.path = @"";
@@ -30,7 +30,7 @@ - (id) init {
30 30 }
31 31
32 32 - (id) initWithAttributes:(NSDictionary *)attributes {
33   - if (self = [self init]) {
  33 + if ((self = [super init])) {
34 34 [self updateAttributes:attributes];
35 35 self.dirty = NO;
36 36 self.fresh = NO;
@@ -41,7 +41,7 @@ - (id) initWithAttributes:(NSDictionary *)attributes {
41 41 }
42 42
43 43 - (id) initWithDirectory:(NSString *)aPath {
44   - if (self = [self init]) {
  44 + if ((self = [super init])) {
45 45 beforeChanges = [self toDictionary];
46 46 self.path = aPath;
47 47 self.dirty = YES;

0 comments on commit d3a5d6b

Please sign in to comment.
Something went wrong with that request. Please try again.