From 8be05b404ce9cf25c56bd050e338d5015a85cec1 Mon Sep 17 00:00:00 2001 From: Ryan Bannon Date: Mon, 23 Jun 2014 15:47:40 -0400 Subject: [PATCH] Fixed: change variable name Changed "returnValue" to "connection" - more descriptive. Ref: https://github.com/cappuccino/cappuccino/pull/2144#commitcomment-6769088 --- Foundation/CPURLConnection.j | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Foundation/CPURLConnection.j b/Foundation/CPURLConnection.j index a16c8af45..b79f08fb6 100644 --- a/Foundation/CPURLConnection.j +++ b/Foundation/CPURLConnection.j @@ -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; } /*