diff --git a/Source/NSIndexPath.m b/Source/NSIndexPath.m index 65b782924..7fa91dc50 100644 --- a/Source/NSIndexPath.m +++ b/Source/NSIndexPath.m @@ -64,7 +64,7 @@ + (id) indexPathWithIndexes: (NSUInteger*)indexes length: (NSUInteger)length return AUTORELEASE(o); } -+ (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)section; ++ (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)section { NSUInteger idxs[2]; @@ -74,7 +74,7 @@ + (NSIndexPath *) indexPathForItem: (NSInteger)item inSection: (NSInteger)sectio return [self indexPathWithIndexes: idxs length: 2]; } -+ (NSIndexPath *) indexPathForRow: (NSInteger)row inSection: (NSInteger)section; ++ (NSIndexPath *) indexPathForRow: (NSInteger)row inSection: (NSInteger)section { NSUInteger idxs[2]; diff --git a/Source/NSMassFormatter.m b/Source/NSMassFormatter.m index 857acb404..0d633b872 100644 --- a/Source/NSMassFormatter.m +++ b/Source/NSMassFormatter.m @@ -58,22 +58,22 @@ - (NSFormattingUnitStyle) unitStyle return _unitStyle; } -- (void) setUnitStyle: (NSFormattingUnitStyle)style; +- (void) setUnitStyle: (NSFormattingUnitStyle)style { _unitStyle = style; } -- (BOOL) isForPersonMassUse; +- (BOOL) isForPersonMassUse { return _isForPersonMassUse; } -- (void) setForPersonMassUse: (BOOL)flag; +- (void) setForPersonMassUse: (BOOL)flag { _isForPersonMassUse = flag; } -- (NSString *) stringFromValue: (double)value unit: (NSMassFormatterUnit)unit; +- (NSString *) stringFromValue: (double)value unit: (NSMassFormatterUnit)unit { NSUnit *u = nil; NSMeasurement *m = nil; @@ -109,12 +109,12 @@ - (NSString *) stringFromValue: (double)value unit: (NSMassFormatterUnit)unit; return [mf stringFromMeasurement: m]; } -- (NSString *) stringFromKilograms: (double)numberInKilograms; +- (NSString *) stringFromKilograms: (double)numberInKilograms { return [self stringFromValue: numberInKilograms unit: NSMassFormatterUnitKilogram]; } -- (NSString *) unitStringFromValue: (double)value unit: (NSMassFormatterUnit)unit; +- (NSString *) unitStringFromValue: (double)value unit: (NSMassFormatterUnit)unit { return [self stringFromValue: value unit: unit]; } diff --git a/Source/NSOperation.m b/Source/NSOperation.m index 6968e0fd8..e54dd43fb 100644 --- a/Source/NSOperation.m +++ b/Source/NSOperation.m @@ -284,7 +284,7 @@ - (BOOL) isReady return internal->ready; } -- (void) main; +- (void) main { return; // OSX default implementation does nothing } diff --git a/Source/NSPredicate.m b/Source/NSPredicate.m index f86703378..f38622638 100644 --- a/Source/NSPredicate.m +++ b/Source/NSPredicate.m @@ -384,13 +384,13 @@ - (Class) classForCoder return [NSPredicate class]; } -- (void) encodeWithCoder: (NSCoder *) coder; +- (void) encodeWithCoder: (NSCoder *) coder { // FIXME [self subclassResponsibility: _cmd]; } -- (id) initWithCoder: (NSCoder *) coder; +- (id) initWithCoder: (NSCoder *) coder { // FIXME [self subclassResponsibility: _cmd]; diff --git a/Source/NSProgress.m b/Source/NSProgress.m index 8ce6ef61d..326c8588a 100644 --- a/Source/NSProgress.m +++ b/Source/NSProgress.m @@ -350,7 +350,7 @@ - (void)setUserInfoObject: (id)obj } // Instance property accessors... -- (void) setFileOperationKind: (NSProgressFileOperationKind)k; +- (void) setFileOperationKind: (NSProgressFileOperationKind)k { ASSIGN(internal->_fileOperationKind, k); } diff --git a/Source/NSURLSession.m b/Source/NSURLSession.m index 9dbec92e3..10cf42b3a 100644 --- a/Source/NSURLSession.m +++ b/Source/NSURLSession.m @@ -334,7 +334,7 @@ - (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request } - (NSURLSessionUploadTask*) uploadTaskWithRequest: (NSURLRequest*)request - fromData: (NSData*)bodyData; + fromData: (NSData*)bodyData { return [self notImplemented: _cmd]; }