mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
Fixed: change variable name
Changed "returnValue" to "connection" - more descriptive. Ref: https://github.com/cappuccino/cappuccino/pull/2144#commitcomment-6769088
This commit is contained in:
1 parent
ba9eac3ea4
commit
8be05b404c
1 file changed
+4
-4
@@ -153,11 +153,11 @@ var CPURLConnectionDelegate = nil;
|
||||
//overloaded method that allows user to set _withCredentials
|
||||
+ (CPURLConnection)connectionWithRequest:(CPURLRequest)aRequest delegate:(id)aDelegate withCredentials:(BOOL)withCredentials
|
||||
{
|
||||
var returnValue = [[self alloc] initWithRequest:aRequest delegate:aDelegate startImmediately:NO];
|
||||
var connection = [[self alloc] initWithRequest:aRequest delegate:aDelegate startImmediately:NO];
|
||||
|
||||
[returnValue setWithCredentials:withCredentials];
|
||||
[returnValue start];
|
||||
return returnValue;
|
||||
[connection setWithCredentials:withCredentials];
|
||||
[connection start];
|
||||
return connection;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user