mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +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:
@@ -38,7 +38,7 @@
|
||||
self.connectionMapping = connectionMapping;
|
||||
self.managedObjectCache = managedObjectCache;
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -103,14 +103,14 @@
|
||||
- (NSMutableSet *)findAllConnectedWithSourceValue:(id)sourceValue
|
||||
{
|
||||
NSMutableSet *result = [NSMutableSet set];
|
||||
|
||||
|
||||
id values = nil;
|
||||
if ([sourceValue conformsToProtocol:@protocol(NSFastEnumeration)]) {
|
||||
values = sourceValue;
|
||||
} else {
|
||||
values = [NSArray arrayWithObject:sourceValue];
|
||||
}
|
||||
|
||||
|
||||
for (id value in values) {
|
||||
NSArray *objects = [self.managedObjectCache findInstancesOfEntity:self.connectionMapping.relationship.destinationEntity
|
||||
withPrimaryKeyAttribute:self.connectionMapping.destinationKeyPath
|
||||
|
||||
Reference in New Issue
Block a user