diff --git a/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/InwardLink.swift b/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/InwardLink.swift index 375eb5a..170dbcc 100644 --- a/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/InwardLink.swift +++ b/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/InwardLink.swift @@ -10,9 +10,7 @@ import CoreData class InwardLink: Link { override class func shouldUseSubEntityRecordClassToRepresentData(dict : [NSObject : AnyObject]!) -> Bool { - let inwardIssue : AnyObject! = dict["inwardIssue"] - - if (inwardIssue) { + if let inwardIssue : AnyObject! = dict["inwardIssue"] { return true } diff --git a/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/OutwardLink.swift b/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/OutwardLink.swift index 87925f7..e82c744 100644 --- a/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/OutwardLink.swift +++ b/Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/OutwardLink.swift @@ -11,9 +11,7 @@ import CoreData class OutwardLink: Link { override class func shouldUseSubEntityRecordClassToRepresentData(dict : [NSObject : AnyObject]!) -> Bool { - let outwardIssue : AnyObject! = dict["outwardIssue"] - - if (outwardIssue) { + if let outwardIssue : AnyObject! = dict["outwardIssue"] { return true }