Fix a few spacing issues. Refs #614

This commit is contained in:
Jawwad Ahmad
2012-06-03 22:49:03 -04:00
parent 086dceee66
commit 2cf60ffb86
12 changed files with 25 additions and 25 deletions

View File

@@ -57,7 +57,7 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue) {
// Comparison magic using function pointers. See this page for details: http://www.red-sweater.com/blog/320/abusing-objective-c-with-class
// Original code courtesy of Greg Parker
// This is necessary because isEqualToNumber will return negative integer values that aren't coercable directly to BOOL's without help [sbw]
BOOL (*ComparisonSender)(id, SEL, id) = (BOOL (*)(id, SEL, id)) objc_msgSend;
BOOL (*ComparisonSender)(id, SEL, id) = (BOOL (*)(id, SEL, id))objc_msgSend;
return ComparisonSender(sourceValue, comparisonSelector, destinationValue);
}

View File

@@ -41,7 +41,7 @@
- (NSUInteger)hash {
int prime = 31;
int result = 1;
result = prime * [self.userData hash]? [self.mapping hash] : [self.userData hash];
result = prime * [self.userData hash] ? [self.mapping hash] : [self.userData hash];
return result;
}