tmp++;
component = ((tmp - cstr) == 0)
- ? @""
+ ? (id)@""
: [[NSString alloc] initWithCString:cstr length:(tmp - cstr)];
if (component) {
r = [self->_uri rangeOfString:@"?"];
query = (r.length > 0)
? [self->_uri substringFromIndex:(r.location + r.length)]
- : nil;
+ : (NSString *)nil;
if ((ctype = [self headerForKey:@"content-type"]) != nil) {
isFormContent = [ctype hasPrefix:@"application/x-www-form-urlencoded"];
id paras = [self _getFormParameters];
return [paras respondsToSelector:@selector(objectsForKey:)]
? [paras objectsForKey:_key]
- : nil;
+ : (NSArray *)nil;
}
- (NSDictionary *)formValues {
return debugOn;
}
- (NSString *)loggingPrefix {
- return [NSString stringWithFormat:@"|Rq:%@ 0x%08X|",
+ return [NSString stringWithFormat:@"|Rq:%@ 0x%p|",
[self method], self];
}
NSMutableString *str;
str = [NSMutableString stringWithCapacity:256];
- [str appendFormat:@"<%@[0x%08X]:", NSStringFromClass([self class]), self];
+ [str appendFormat:@"<%@[0x%p]:", NSStringFromClass([self class]), self];
[str appendFormat:@" method=%@", [self method]];
[str appendFormat:@" uri=%@", [self uri]];
[str appendFormat:@" app=%@", self->appName];