Index: src/OFHTTPRequest.m ================================================================== --- src/OFHTTPRequest.m +++ src/OFHTTPRequest.m @@ -187,14 +187,14 @@ } - (void)setProtocolVersion: (of_http_request_protocol_version_t)protocolVersion { if (protocolVersion.major != 1 || protocolVersion.minor > 1) - @throw [OFUnsupportedVersionException - exceptionWithVersion: [OFString stringWithFormat: @"%u.%u", - protocolVersion.major, - protocolVersion.minor]]; + @throw [OFUnsupportedVersionException exceptionWithVersion: + [OFString stringWithFormat: @"%u.%u", + protocolVersion.major, + protocolVersion.minor]]; _protocolVersion = protocolVersion; } - (of_http_request_protocol_version_t)protocolVersion @@ -226,11 +226,12 @@ objc_autoreleasePoolPop(pool); } - (OFString*)protocolVersionString { - return [OFString stringWithFormat: @"%u.%u", _protocolVersion.major, + return [OFString stringWithFormat: @"%u.%u", + _protocolVersion.major, _protocolVersion.minor]; } - (void)setBodyFromString: (OFString*)string { Index: src/OFHTTPResponse.m ================================================================== --- src/OFHTTPResponse.m +++ src/OFHTTPResponse.m @@ -50,14 +50,14 @@ } - (void)setProtocolVersion: (of_http_request_protocol_version_t)protocolVersion { if (protocolVersion.major != 1 || protocolVersion.minor > 1) - @throw [OFUnsupportedVersionException - exceptionWithVersion: [OFString stringWithFormat: @"%u.%u", - protocolVersion.major, - protocolVersion.minor]]; + @throw [OFUnsupportedVersionException exceptionWithVersion: + [OFString stringWithFormat: @"%u.%u", + protocolVersion.major, + protocolVersion.minor]]; _protocolVersion = protocolVersion; } - (of_http_request_protocol_version_t)protocolVersion @@ -89,11 +89,12 @@ objc_autoreleasePoolPop(pool); } - (OFString*)protocolVersionString { - return [OFString stringWithFormat: @"%u.%u", _protocolVersion.major, + return [OFString stringWithFormat: @"%u.%u", + _protocolVersion.major, _protocolVersion.minor]; } - (OFString*)string { Index: src/OFNumber.m ================================================================== --- src/OFNumber.m +++ src/OFNumber.m @@ -911,12 +911,11 @@ [ret makeImmutable]; return ret; case OF_NUMBER_TYPE_DOUBLE: - ret = [OFMutableString stringWithFormat: @"%g", - _value.double_]; + ret = [OFMutableString stringWithFormat: @"%g", _value.double_]; if (![ret containsString: @"."]) [ret appendString: @".0"]; [ret makeImmutable];