From 21e355748d03ec70d9047b10216e0a3d1b5c7df9 Mon Sep 17 00:00:00 2001 From: John Clayton Date: Mon, 1 Apr 2019 18:09:20 -0400 Subject: [PATCH] Replaced tabs with spaces for the fix to #339 --- momcom/NSEntityDescription+momcom.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/momcom/NSEntityDescription+momcom.m b/momcom/NSEntityDescription+momcom.m index 3e8c332a..5fbdbfec 100644 --- a/momcom/NSEntityDescription+momcom.m +++ b/momcom/NSEntityDescription+momcom.m @@ -28,9 +28,9 @@ + (NSEntityDescription *)baseEntityForXML:(NSXMLElement *)xmlNode if ([attributeName isEqualToString:@"name"]) { [entityDescription setName:attributeString]; } else if ([attributeName isEqualToString:@"representedClassName"]) { - if ([attributeString hasPrefix:@"."]) { - attributeString = [attributeString substringFromIndex:1]; - } + if ([attributeString hasPrefix:@"."]) { + attributeString = [attributeString substringFromIndex:1]; + } [entityDescription setManagedObjectClassName:attributeString]; } else if ([attributeName isEqualToString:@"elementID"]) { [entityDescription setRenamingIdentifier:attributeString];