Permalink
Browse files

Preventing a local declaration from hiding the instance variable

  • Loading branch information...
1 parent 92e9dc3 commit c8f6af565218e8e2afb1bb1e393572263b53e187 @stigi stigi committed Oct 19, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 Sources/OAuth2Client/NXOAuth2Client.m
@@ -331,11 +331,11 @@ - (void)authenticateWithUsername:(NSString *)username password:(NSString *)passw
}
// Assertion
-- (void)authenticateWithAssertionType:(NSURL *)assertionType assertion:(NSString *)assertion;
+- (void)authenticateWithAssertionType:(NSURL *)anAssertionType assertion:(NSString *)anAssertion;
{
NSAssert1(!authConnection, @"authConnection already running with: %@", authConnection);
- NSParameterAssert(assertionType);
- NSParameterAssert(assertion);
+ NSParameterAssert(anAssertionType);
+ NSParameterAssert(anAssertion);
NSMutableURLRequest *tokenRequest = [NSMutableURLRequest requestWithURL:tokenURL];
[tokenRequest setHTTPMethod:@"POST"];
@@ -347,8 +347,8 @@ - (void)authenticateWithAssertionType:(NSURL *)assertionType assertion:(NSString
@"assertion", @"grant_type",
clientId, @"client_id",
clientSecret, @"client_secret",
- assertionType.absoluteString, @"assertion_type",
- assertion, @"assertion",
+ anAssertionType.absoluteString, @"assertion_type",
+ anAssertion, @"assertion",
nil];
if (self.desiredScope) {
[parameters setObject:[[self.desiredScope allObjects] componentsJoinedByString:@" "] forKey:@"scope"];

0 comments on commit c8f6af5

Please sign in to comment.