mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-19 13:09:19 +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:
@@ -33,7 +33,7 @@
|
||||
if (self) {
|
||||
self.baseURL = baseURL;
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
if (self) {
|
||||
self.routeSet = [RKRouteSet new];
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
- (RKURL *)URLForRelationship:(NSString *)relationshipName ofObject:(id)object method:(RKRequestMethod)method
|
||||
{
|
||||
RKRoute *route = [self.routeSet routeForRelationship:relationshipName ofClass:[object class] method:method];
|
||||
if (! route) return nil;
|
||||
if (! route) return nil;
|
||||
return [RKURL URLWithString:[self pathFromRoute:route forObject:object] relativeToURL:self.baseURL];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user