mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-02 22:44:53 +08:00
Trailing whitespace cleanup from files in the Code directory.
Used the following command from within the Code dir: git ls-files *.m *.h *.json | xargs /usr/bin/sed -i '' -E 's/[[:space:]]*$//'
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
if (self) {
|
||||
self.entityCache = [[RKEntityCache alloc] initWithManagedObjectContext:managedObjectContext];
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
inManagedObjectContext:(NSManagedObjectContext *)managedObjectContext
|
||||
{
|
||||
NSAssert(self.entityCache, @"Entity cache cannot be nil.");
|
||||
|
||||
|
||||
if (! [self.entityCache isEntity:entity cachedByAttribute:primaryKeyAttribute]) {
|
||||
RKLogInfo(@"Caching instances of Entity '%@' by primary key attribute '%@'", entity.name, primaryKeyAttribute);
|
||||
[self.entityCache cacheObjectsForEntity:entity byAttribute:primaryKeyAttribute];
|
||||
|
||||
Reference in New Issue
Block a user