Permalink
Browse files

naming cleanup

  • Loading branch information...
1 parent 0311ab0 commit f1a8c7194807a0464c27789e45bbbdaefec78865 @moredip committed Nov 11, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/MapOperationCommand.m
@@ -67,16 +67,16 @@ - (NSString *)handleCommandWithRequestBody:(NSString *)requestBody {
NSDictionary *requestCommand = [requestBody JSONValue];
NSString *selectorEngineString = [requestCommand objectForKey:@"selector_engine"];
- NSString *queryString = [requestCommand objectForKey:@"query"];
+ NSString *selector = [requestCommand objectForKey:@"query"];
NSDictionary *operationDict = [requestCommand objectForKey:@"operation"];
Operation *operation = [[[Operation alloc] initFromJsonRepresentation:operationDict] autorelease];
NSArray *viewsToMap = nil;
@try {
- viewsToMap = [SelectorEngineRegistry selectViewsWithEngineNamed:selectorEngineString usingSelector:queryString];
+ viewsToMap = [SelectorEngineRegistry selectViewsWithEngineNamed:selectorEngineString usingSelector:selector];
}
@catch (NSException * e) {
- NSLog( @"Exception while using %@ to select views with '%@':\n%@", selectorEngineString, queryString, e );
+ NSLog( @"Exception while using %@ to select views with '%@':\n%@", selectorEngineString, selector, e );
return [self generateErrorResponseWithReason:@"invalid selector" andDetails:[e reason]];
}

0 comments on commit f1a8c71

Please sign in to comment.